Drop 'Custom' from menu names. Use 'Menus' instead of Navigation. see #11817

git-svn-id: https://develop.svn.wordpress.org/trunk@13339 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-02-23 20:28:52 +00:00
parent 729d27f290
commit 33bd0dd935
3 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ class Custom_Background {
if ( ! current_user_can('switch_themes') )
return;
$page = add_theme_page(__('Custom Background'), __('Custom Background'), 'switch_themes', 'custom-background', array(&$this, 'admin_page'));
$page = add_theme_page(__('Background'), __('Background'), 'switch_themes', 'custom-background', array(&$this, 'admin_page'));
add_action("admin_head-$page", array(&$this, 'take_action'), 50);
if ( $this->admin_header_callback )

View File

@ -55,7 +55,7 @@ class Custom_Image_Header {
if ( ! current_user_can('switch_themes') )
return;
$page = add_theme_page(__('Custom Header'), __('Custom Header'), 'switch_themes', 'custom-header', array(&$this, 'admin_page'));
$page = add_theme_page(__('Header'), __('Header'), 'switch_themes', 'custom-header', array(&$this, 'admin_page'));
add_action("admin_print_scripts-$page", array(&$this, 'js_includes'));
add_action("admin_print_styles-$page", array(&$this, 'css_includes'));

View File

@ -108,7 +108,7 @@ $menu[60] = array( __('Appearance'), 'switch_themes', 'themes.php', '', 'menu-to
$submenu['themes.php'][5] = array(__('Themes'), 'switch_themes', 'themes.php');
$submenu['themes.php'][10] = array(_x('Editor', 'theme editor'), 'edit_themes', 'theme-editor.php');
$submenu['themes.php'][15] = array(__('Add New Themes'), 'install_themes', 'theme-install.php');
$submenu['themes.php'][20] = array(__('Custom Navigation'), 'switch_themes', 'custom-navigation.php');
$submenu['themes.php'][20] = array(__('Menus'), 'switch_themes', 'custom-navigation.php');
$update_plugins = get_site_transient( 'update_plugins' );
$update_count = 0;