From 32cdefb9acd139711df24882972e805784f47f4c Mon Sep 17 00:00:00 2001 From: Ian Stewart Date: Tue, 14 Feb 2012 17:39:26 +0000 Subject: [PATCH] _s: removing reference to a help doc that isn't there and an unneeded variable check git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8941 d957f892-c61d-0410-b221-f235e6eecf30 --- inc/theme-options/theme-options.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/inc/theme-options/theme-options.php b/inc/theme-options/theme-options.php index 8869109..87b39c9 100644 --- a/inc/theme-options/theme-options.php +++ b/inc/theme-options/theme-options.php @@ -70,7 +70,7 @@ function _s_option_page_capability( $capability ) { add_filter( 'option_page_capability__s_options', '_s_option_page_capability' ); /** - * Add our theme options page to the admin menu, including some help documentation. + * Add our theme options page to the admin menu. * * This function is attached to the admin_menu action hook. * @@ -84,9 +84,6 @@ function _s_theme_options_add_page() { 'theme_options', // Menu slug, used to uniquely identify the page '_s_theme_options_render_page' // Function that renders the options page ); - - if ( ! $theme_page ) - return; } add_action( 'admin_menu', '_s_theme_options_add_page' );