From 7c772cde16c9f1775156bc0c6031bd4eddfcad49 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 30 Mar 2010 18:55:35 +0000 Subject: [PATCH] Correct the @since's for custom-header.php. git-svn-id: https://develop.svn.wordpress.org/trunk@13895 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/custom-header.php | 39 ++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php index de571dd2de..d42c631e65 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() { ?>