From eb5b64112b8d9ce8c0b2855f0a8f99c7bc6cd2ee Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 13 Jul 2015 20:25:24 +0000 Subject: [PATCH] Fix missing or inconsistent parameter descriptions for constructors in `WP_Customize_Control`, `WP_Customize_Color_Control`, `WP_Customize_Media_Control`, `WP_Customize_Image_Control`, `WP_Customize_Background_Image_Control`, `WP_Customize_Site_Icon_Control`, `WP_Customizer_Header_Image_Control`, and `WP_Customize_Nav_Menu_Item_Control`. See #32891. See #32246. Built from https://develop.svn.wordpress.org/trunk@33216 git-svn-id: http://core.svn.wordpress.org/trunk@33188 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-customize-control.php | 36 ++++++++++++---------- wp-includes/version.php | 2 +- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/wp-includes/class-wp-customize-control.php b/wp-includes/class-wp-customize-control.php index 2b7e070ae2..94dc49b40d 100644 --- a/wp-includes/class-wp-customize-control.php +++ b/wp-includes/class-wp-customize-control.php @@ -139,9 +139,9 @@ class WP_Customize_Control { * * @since 3.4.0 * - * @param WP_Customize_Manager $manager - * @param string $id - * @param array $args + * @param WP_Customize_Manager $manager Customizer bootstrap instance. + * @param string $id Control ID. + * @param array $args Optional. Arguments to override class property defaults. */ public function __construct( $manager, $id, $args = array() ) { $keys = array_keys( get_object_vars( $this ) ); @@ -568,9 +568,9 @@ class WP_Customize_Color_Control extends WP_Customize_Control { * @since 3.4.0 * @uses WP_Customize_Control::__construct() * - * @param WP_Customize_Manager $manager - * @param string $id - * @param array $args + * @param WP_Customize_Manager $manager Customizer bootstrap instance. + * @param string $id Control ID. + * @param array $args Optional. Arguments to override class property defaults. */ public function __construct( $manager, $id, $args = array() ) { $this->statuses = array( '' => __('Default') ); @@ -678,9 +678,9 @@ class WP_Customize_Media_Control extends WP_Customize_Control { * @since 4.1.0 * @since 4.2.0 Moved from WP_Customize_Upload_Control. * - * @param WP_Customize_Manager $manager {@see WP_Customize_Manager} instance. - * @param string $id - * @param array $args + * @param WP_Customize_Manager $manager Customizer bootstrap instance. + * @param string $id Control ID. + * @param array $args Optional. Arguments to override class property defaults. */ public function __construct( $manager, $id, $args = array() ) { parent::__construct( $manager, $id, $args ); @@ -907,9 +907,9 @@ class WP_Customize_Image_Control extends WP_Customize_Upload_Control { * @since 3.4.0 * @uses WP_Customize_Upload_Control::__construct() * - * @param WP_Customize_Manager $manager - * @param string $id - * @param array $args + * @param WP_Customize_Manager $manager Customizer bootstrap instance. + * @param string $id Control ID. + * @param array $args Optional. Arguments to override class property defaults. */ public function __construct( $manager, $id, $args = array() ) { parent::__construct( $manager, $id, $args ); @@ -975,7 +975,7 @@ class WP_Customize_Background_Image_Control extends WP_Customize_Image_Control { * @since 3.4.0 * @uses WP_Customize_Image_Control::__construct() * - * @param WP_Customize_Manager $manager + * @param WP_Customize_Manager $manager Customizer bootstrap instance. */ public function __construct( $manager ) { parent::__construct( $manager, 'background_image', array( @@ -1111,7 +1111,7 @@ class WP_Customize_Site_Icon_Control extends WP_Customize_Cropped_Image_Control * @since 4.3.0 * @access public * - * @param WP_Customize_Manager $manager WP_Customize_Manager instance. + * @param WP_Customize_Manager $manager Customizer bootstrap instance. * @param string $id Control ID. * @param array $args Optional. Arguments to override class property defaults. */ @@ -1134,7 +1134,11 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control { public $default_headers; /** - * @param WP_Customize_Manager $manager + * Constructor. + * + * @since 3.4.0 + * + * @param WP_Customize_Manager $manager Customizer bootstrap instance. */ public function __construct( $manager ) { parent::__construct( $manager, 'header_image', array( @@ -1649,7 +1653,7 @@ class WP_Customize_Nav_Menu_Item_Control extends WP_Customize_Control { * * @see WP_Customize_Control::__construct() * - * @param WP_Customize_Manager $manager An instance of the WP_Customize_Manager class. + * @param WP_Customize_Manager $manager Customizer bootstrap instance. * @param string $id The control ID. * @param array $args Optional. Overrides class property defaults. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 987f0bc4c3..f098caa7b3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.3-beta2-33215'; +$wp_version = '4.3-beta2-33216'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.