diff --git a/lib/activation.php b/lib/activation.php index fc6f49f..3f6a481 100644 --- a/lib/activation.php +++ b/lib/activation.php @@ -26,7 +26,7 @@ add_filter('option_page_capability_roots_activation_options', 'roots_activation_ 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 @@ add_action('admin_menu', 'roots_theme_activation_options_add_page', 50); 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(); ?> - +