diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php index de571dd2d..d42c631e6 100644 --- a/wp-admin/custom-header.php +++ b/wp-admin/custom-header.php @@ -9,7 +9,7 @@ /** * The custom header image class. * - * @since 3.0.0 + * @since 2.1.0 * @package WordPress * @subpackage Administration */ @@ -19,7 +19,7 @@ class Custom_Image_Header { * Callback for administration header. * * @var callback - * @since 3.0.0 + * @since 2.1.0 * @access private */ var $admin_header_callback; @@ -33,12 +33,19 @@ class Custom_Image_Header { */ var $admin_image_div_callback; + /** + * Holds default headers. + * + * @var array + * @since 3.0.0 + * @access private + */ var $default_headers = array(); /** * PHP4 Constructor - Register administration header callback. * - * @since 3.0.0 + * @since 2.1.0 * @param callback $admin_header_callback * @param callback $admin_image_div_callback Optional custom image div output callback. * @return Custom_Image_Header @@ -51,7 +58,7 @@ class Custom_Image_Header { /** * Set up the hooks for the Custom Header admin page. * - * @since 3.0.0 + * @since 2.1.0 */ function init() { if ( ! current_user_can('switch_themes') ) @@ -69,7 +76,7 @@ class Custom_Image_Header { /** * Get the current step. * - * @since 3.0.0 + * @since 2.6.0 * * @return int Current step */ @@ -87,7 +94,7 @@ class Custom_Image_Header { /** * Set up the enqueue for the JavaScript files. * - * @since 3.0.0 + * @since 2.1.0 */ function js_includes() { $step = $this->step(); @@ -115,7 +122,7 @@ class Custom_Image_Header { /** * Execute custom header modification. * - * @since 3.0.0 + * @since 2.6.0 */ function take_action() { if ( ! current_user_can('switch_themes') ) @@ -148,7 +155,7 @@ class Custom_Image_Header { /** * Process the default headers * - * @since 3.0.0 + * @since 3.0.0 */ function process_default_headers() { global $_wp_default_headers; @@ -210,7 +217,7 @@ class Custom_Image_Header { /** * Execute Javascript depending on step. * - * @since 3.0.0 + * @since 2.1.0 */ function js() { $step = $this->step(); @@ -223,7 +230,7 @@ class Custom_Image_Header { /** * Display Javascript based on Step 1. * - * @since 3.0.0 + * @since 2.6.0 */ function js_1() { ?>