Changeset 25254 for trunk/src/wp-admin/custom-header.php
- Timestamp:
- 09/05/2013 04:33:50 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/custom-header.php
r25135 r25254 85 85 return; 86 86 87 $this->page = $page = add_theme_page(__('Header'), __('Header'), 'edit_theme_options', 'custom-header', array( &$this, 'admin_page'));88 89 add_action("admin_print_scripts-$page", array( &$this, 'js_includes'));90 add_action("admin_print_styles-$page", array( &$this, 'css_includes'));91 add_action("admin_head-$page", array( &$this, 'help') );92 add_action("admin_head-$page", array( &$this, 'take_action'), 50);93 add_action("admin_head-$page", array( &$this, 'js'), 50);87 $this->page = $page = add_theme_page(__('Header'), __('Header'), 'edit_theme_options', 'custom-header', array($this, 'admin_page')); 88 89 add_action("admin_print_scripts-$page", array($this, 'js_includes')); 90 add_action("admin_print_styles-$page", array($this, 'css_includes')); 91 add_action("admin_head-$page", array($this, 'help') ); 92 add_action("admin_head-$page", array($this, 'take_action'), 50); 93 add_action("admin_head-$page", array($this, 'js'), 50); 94 94 if ( $this->admin_header_callback ) 95 95 add_action("admin_head-$page", $this->admin_header_callback, 51);
Note: See TracChangeset
for help on using the changeset viewer.