From 082bfab426ea8784fa8406ac38c61e6ddc1f87be Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Fri, 22 May 2015 05:06:25 +0000 Subject: [PATCH] Clean up `@global` doc blocks/imports for `class-wp-customizer-*.php` and friends. See #32444. Built from https://develop.svn.wordpress.org/trunk@32542 git-svn-id: http://core.svn.wordpress.org/trunk@32512 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/category-template.php | 2 + wp-includes/class-http.php | 2 + wp-includes/class-wp-customize-control.php | 24 ++++++--- wp-includes/class-wp-customize-setting.php | 2 + wp-includes/class-wp-customize-widgets.php | 62 ++++++++++++++++------ wp-includes/version.php | 2 +- 6 files changed, 70 insertions(+), 24 deletions(-) diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index 11753978f4..25c7dd5c88 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -153,6 +153,8 @@ function get_the_category_by_ID( $cat_ID ) { * * @since 1.5.1 * + * @global WP_Rewrite $wp_rewrite + * * @param string $separator Optional, default is empty string. Separator for between the categories. * @param string $parents Optional. How to display the parents. * @param int $post_id Optional. Post ID to retrieve categories. diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php index 6ba1996b47..622d2c105e 100644 --- a/wp-includes/class-http.php +++ b/wp-includes/class-http.php @@ -36,6 +36,8 @@ class WP_Http { * @access public * @since 2.7.0 * + * @global string $wp_version + * * @param string $url The request URL. * @param string|array $args { * Optional. Array or string of HTTP request arguments. diff --git a/wp-includes/class-wp-customize-control.php b/wp-includes/class-wp-customize-control.php index e8004dd4e4..5c9c575647 100644 --- a/wp-includes/class-wp-customize-control.php +++ b/wp-includes/class-wp-customize-control.php @@ -1048,6 +1048,10 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control { parent::enqueue(); } + /** + * + * @global Custom_Image_Header $custom_image_header + */ public function prepare_control() { global $custom_image_header; if ( empty( $custom_image_header ) ) { @@ -1064,14 +1068,14 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control { ?>