diff --git a/CHANGELOG.md b/CHANGELOG.md index 897a67d..14fdb34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ ### HEAD +* Make sure Primary Navigation menu always gets created and has the location set upon activation, update activation permalink method * Update to Bootstrap 2.2.1 * Update conditional feed method * Update to Bootstrap 2.2.0 diff --git a/lib/activation.php b/lib/activation.php index c885892..43d33a5 100644 --- a/lib/activation.php +++ b/lib/activation.php @@ -16,13 +16,11 @@ function roots_theme_activation_options_init() { 'roots_theme_activation_options_validate' ); } - add_action('admin_init', 'roots_theme_activation_options_init'); function roots_activation_options_page_capability($capability) { return 'edit_theme_options'; } - add_filter('option_page_capability_roots_activation_options', 'roots_activation_options_page_capability'); function roots_theme_activation_options_add_page() { @@ -43,9 +41,7 @@ function roots_theme_activation_options_add_page() { exit; } } - } - add_action('admin_menu', 'roots_theme_activation_options_add_page', 50); function roots_get_default_theme_activation_options() { @@ -66,10 +62,9 @@ function roots_get_theme_activation_options() { } function roots_theme_activation_options_render_page() { ?> -