From ac9b6fcef88b8de83ed551fa60e2e2d3cdf4e51e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 26 Feb 2020 15:33:05 +0000 Subject: [PATCH] Docs: Use a consistent description for the `$manager` parameter in various Customizer class constructions. See #48303. Built from https://develop.svn.wordpress.org/trunk@47383 git-svn-id: http://core.svn.wordpress.org/trunk@47170 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-customize-nav-menus.php | 2 +- wp-includes/class-wp-customize-panel.php | 2 +- wp-includes/class-wp-customize-section.php | 2 +- wp-includes/class-wp-customize-setting.php | 6 +++--- wp-includes/class-wp-customize-widgets.php | 2 +- .../customize/class-wp-customize-custom-css-setting.php | 6 +++--- .../customize/class-wp-customize-nav-menu-item-setting.php | 6 +++--- .../customize/class-wp-customize-nav-menu-setting.php | 6 +++--- .../customize/class-wp-customize-new-menu-section.php | 2 +- .../customize/class-wp-customize-selective-refresh.php | 2 +- wp-includes/version.php | 2 +- 11 files changed, 19 insertions(+), 19 deletions(-) diff --git a/wp-includes/class-wp-customize-nav-menus.php b/wp-includes/class-wp-customize-nav-menus.php index d4a4cfa513..1b44b1453d 100644 --- a/wp-includes/class-wp-customize-nav-menus.php +++ b/wp-includes/class-wp-customize-nav-menus.php @@ -39,7 +39,7 @@ final class WP_Customize_Nav_Menus { * * @since 4.3.0 * - * @param WP_Customize_Manager $manager An instance of the WP_Customize_Manager class. + * @param WP_Customize_Manager $manager Customizer bootstrap instance. */ public function __construct( $manager ) { $this->manager = $manager; diff --git a/wp-includes/class-wp-customize-panel.php b/wp-includes/class-wp-customize-panel.php index 185908bea8..36092c5f26 100644 --- a/wp-includes/class-wp-customize-panel.php +++ b/wp-includes/class-wp-customize-panel.php @@ -138,7 +138,7 @@ class WP_Customize_Panel { * @since 4.0.0 * * @param WP_Customize_Manager $manager Customizer bootstrap instance. - * @param string $id An specific ID for the panel. + * @param string $id A specific ID for the panel. * @param array $args Panel arguments. */ public function __construct( $manager, $id, $args = array() ) { diff --git a/wp-includes/class-wp-customize-section.php b/wp-includes/class-wp-customize-section.php index 47ff0910ba..4cbc066137 100644 --- a/wp-includes/class-wp-customize-section.php +++ b/wp-includes/class-wp-customize-section.php @@ -149,7 +149,7 @@ class WP_Customize_Section { * @since 3.4.0 * * @param WP_Customize_Manager $manager Customizer bootstrap instance. - * @param string $id An specific ID of the section. + * @param string $id A specific ID of the section. * @param array $args Section arguments. */ public function __construct( $manager, $id, $args = array() ) { diff --git a/wp-includes/class-wp-customize-setting.php b/wp-includes/class-wp-customize-setting.php index a457709fcf..ee5a1db3d3 100644 --- a/wp-includes/class-wp-customize-setting.php +++ b/wp-includes/class-wp-customize-setting.php @@ -153,9 +153,9 @@ class WP_Customize_Setting { * * @since 3.4.0 * - * @param WP_Customize_Manager $manager - * @param string $id An specific ID of the setting. Can be a - * theme mod or option name. + * @param WP_Customize_Manager $manager Customizer bootstrap instance. + * @param string $id A specific ID of the setting. + * Can be a theme mod or option name. * @param array $args Setting arguments. */ public function __construct( $manager, $id, $args = array() ) { diff --git a/wp-includes/class-wp-customize-widgets.php b/wp-includes/class-wp-customize-widgets.php index 42953fe033..f30c56d297 100644 --- a/wp-includes/class-wp-customize-widgets.php +++ b/wp-includes/class-wp-customize-widgets.php @@ -94,7 +94,7 @@ final class WP_Customize_Widgets { * * @since 3.9.0 * - * @param WP_Customize_Manager $manager Customize manager bootstrap instance. + * @param WP_Customize_Manager $manager Customizer bootstrap instance. */ public function __construct( $manager ) { $this->manager = $manager; diff --git a/wp-includes/customize/class-wp-customize-custom-css-setting.php b/wp-includes/customize/class-wp-customize-custom-css-setting.php index 085a8b5583..ea0732efc2 100644 --- a/wp-includes/customize/class-wp-customize-custom-css-setting.php +++ b/wp-includes/customize/class-wp-customize-custom-css-setting.php @@ -57,9 +57,9 @@ final class WP_Customize_Custom_CSS_Setting extends WP_Customize_Setting { * * @throws Exception If the setting ID does not match the pattern `custom_css[$stylesheet]`. * - * @param WP_Customize_Manager $manager The Customize Manager class. - * @param string $id An specific ID of the setting. Can be a - * theme mod or option name. + * @param WP_Customize_Manager $manager Customizer bootstrap instance. + * @param string $id A specific ID of the setting. + * Can be a theme mod or option name. * @param array $args Setting arguments. */ public function __construct( $manager, $id, $args = array() ) { diff --git a/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php b/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php index 76908bf786..0be10e27c1 100644 --- a/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php +++ b/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php @@ -155,9 +155,9 @@ class WP_Customize_Nav_Menu_Item_Setting extends WP_Customize_Setting { * * @since 4.3.0 * - * @param WP_Customize_Manager $manager Bootstrap Customizer instance. - * @param string $id An specific ID of the setting. Can be a - * theme mod or option name. + * @param WP_Customize_Manager $manager Customizer bootstrap instance. + * @param string $id A specific ID of the setting. + * Can be a theme mod or option name. * @param array $args Optional. Setting arguments. * * @throws Exception If $id is not valid for this setting type. diff --git a/wp-includes/customize/class-wp-customize-nav-menu-setting.php b/wp-includes/customize/class-wp-customize-nav-menu-setting.php index 8c4f98d0aa..3ce4ab998b 100644 --- a/wp-includes/customize/class-wp-customize-nav-menu-setting.php +++ b/wp-includes/customize/class-wp-customize-nav-menu-setting.php @@ -125,9 +125,9 @@ class WP_Customize_Nav_Menu_Setting extends WP_Customize_Setting { * * @since 4.3.0 * - * @param WP_Customize_Manager $manager Bootstrap Customizer instance. - * @param string $id An specific ID of the setting. Can be a - * theme mod or option name. + * @param WP_Customize_Manager $manager Customizer bootstrap instance. + * @param string $id A specific ID of the setting. + * Can be a theme mod or option name. * @param array $args Optional. Setting arguments. * * @throws Exception If $id is not valid for this setting type. diff --git a/wp-includes/customize/class-wp-customize-new-menu-section.php b/wp-includes/customize/class-wp-customize-new-menu-section.php index dc335c3a3e..e9dc98fe3c 100644 --- a/wp-includes/customize/class-wp-customize-new-menu-section.php +++ b/wp-includes/customize/class-wp-customize-new-menu-section.php @@ -37,7 +37,7 @@ class WP_Customize_New_Menu_Section extends WP_Customize_Section { * @deprecated 4.9.0 * * @param WP_Customize_Manager $manager Customizer bootstrap instance. - * @param string $id An specific ID of the section. + * @param string $id A specific ID of the section. * @param array $args Section arguments. */ public function __construct( WP_Customize_Manager $manager, $id, array $args = array() ) { diff --git a/wp-includes/customize/class-wp-customize-selective-refresh.php b/wp-includes/customize/class-wp-customize-selective-refresh.php index be524bea19..822b1354c7 100644 --- a/wp-includes/customize/class-wp-customize-selective-refresh.php +++ b/wp-includes/customize/class-wp-customize-selective-refresh.php @@ -58,7 +58,7 @@ final class WP_Customize_Selective_Refresh { * * @since 4.5.0 * - * @param WP_Customize_Manager $manager Manager instance. + * @param WP_Customize_Manager $manager Customizer bootstrap instance. */ public function __construct( WP_Customize_Manager $manager ) { $this->manager = $manager; diff --git a/wp-includes/version.php b/wp-includes/version.php index 0978f003fa..4fc5dfce1a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-beta3-47382'; +$wp_version = '5.4-beta3-47383'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.