mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-01 21:21:24 +01:00
Use "Custom Header" for menu text. see #9178
git-svn-id: http://svn.automattic.com/wordpress/trunk@10623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8817375a71
commit
a9e8073b30
@ -41,7 +41,7 @@ class Custom_Image_Header {
|
||||
* @since unknown
|
||||
*/
|
||||
function init() {
|
||||
$page = add_theme_page(__('Custom Image Header'), __('Custom Image Header'), 'edit_themes', 'custom-header', array(&$this, 'admin_page'));
|
||||
$page = add_theme_page(__('Custom Header'), __('Custom Header'), 'edit_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'));
|
||||
|
@ -153,7 +153,7 @@ function kubrick_add_theme_page() {
|
||||
}
|
||||
add_action('admin_head', 'kubrick_theme_page_head');
|
||||
}
|
||||
add_theme_page(__('Customize Header'), __('Header Image and Color'), 'edit_themes', basename(__FILE__), 'kubrick_theme_page');
|
||||
add_theme_page(__('Custom Header'), __('Custom Header'), 'edit_themes', basename(__FILE__), 'kubrick_theme_page');
|
||||
}
|
||||
|
||||
function kubrick_theme_page_head() {
|
||||
|
Loading…
Reference in New Issue
Block a user