Permalink
Browse files

_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
  • Loading branch information...
1 parent 432b27a commit 32cdefb9acd139711df24882972e805784f47f4c @ianstewart ianstewart committed Feb 14, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 inc/theme-options/theme-options.php
View
5 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' );

0 comments on commit 32cdefb

Please sign in to comment.