Skip to content
Browse files

first_run logically makes sense now

  • Loading branch information...
1 parent 658f831 commit 4db03fb63dad39d440b2854dda2e0df754abd37e @swalkinshaw swalkinshaw committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/activation.php
View
6 lib/activation.php
@@ -26,7 +26,7 @@ function roots_activation_options_page_capability($capability) {
function roots_theme_activation_options_add_page() {
$roots_activation_options = roots_get_theme_activation_options();
- if ($roots_activation_options['first_run'] === 'true') {
+ if ($roots_activation_options['first_run']) {
$theme_page = add_theme_page(
__('Theme Activation', 'roots'),
__('Theme Activation', 'roots'),
@@ -47,7 +47,7 @@ function roots_theme_activation_options_add_page() {
function roots_get_default_theme_activation_options() {
$default_theme_activation_options = array(
- 'first_run' => false,
+ 'first_run' => true,
'create_front_page' => false,
'change_permalink_structure' => false,
'change_uploads_folder' => false,
@@ -76,7 +76,7 @@ function roots_theme_activation_options_render_page() { ?>
$roots_default_activation_options = roots_get_default_theme_activation_options();
?>
- <input type="hidden" value="true" name="roots_theme_activation_options[first_run]">
+ <input type="hidden" value="false" name="roots_theme_activation_options[first_run]">
<table class="form-table">

0 comments on commit 4db03fb

Please sign in to comment.
Something went wrong with that request. Please try again.