_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
This commit is contained in:
Ian Stewart 2012-02-14 17:39:26 +00:00
parent 432b27a162
commit 32cdefb9ac
1 changed files with 1 additions and 4 deletions

View File

@ -70,7 +70,7 @@ function _s_option_page_capability( $capability ) {
add_filter( 'option_page_capability__s_options', '_s_option_page_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. * 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 'theme_options', // Menu slug, used to uniquely identify the page
'_s_theme_options_render_page' // Function that renders the options 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' ); add_action( 'admin_menu', '_s_theme_options_add_page' );