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
This commit is contained in:
Sergey Biryukov 2020-02-26 15:33:05 +00:00
parent 3d75b5bac5
commit ac9b6fcef8
11 changed files with 19 additions and 19 deletions

View File

@ -39,7 +39,7 @@ final class WP_Customize_Nav_Menus {
* *
* @since 4.3.0 * @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 ) { public function __construct( $manager ) {
$this->manager = $manager; $this->manager = $manager;

View File

@ -138,7 +138,7 @@ class WP_Customize_Panel {
* @since 4.0.0 * @since 4.0.0
* *
* @param WP_Customize_Manager $manager Customizer bootstrap instance. * @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. * @param array $args Panel arguments.
*/ */
public function __construct( $manager, $id, $args = array() ) { public function __construct( $manager, $id, $args = array() ) {

View File

@ -149,7 +149,7 @@ class WP_Customize_Section {
* @since 3.4.0 * @since 3.4.0
* *
* @param WP_Customize_Manager $manager Customizer bootstrap instance. * @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. * @param array $args Section arguments.
*/ */
public function __construct( $manager, $id, $args = array() ) { public function __construct( $manager, $id, $args = array() ) {

View File

@ -153,9 +153,9 @@ class WP_Customize_Setting {
* *
* @since 3.4.0 * @since 3.4.0
* *
* @param WP_Customize_Manager $manager * @param WP_Customize_Manager $manager Customizer bootstrap instance.
* @param string $id An specific ID of the setting. Can be a * @param string $id A specific ID of the setting.
* theme mod or option name. * Can be a theme mod or option name.
* @param array $args Setting arguments. * @param array $args Setting arguments.
*/ */
public function __construct( $manager, $id, $args = array() ) { public function __construct( $manager, $id, $args = array() ) {

View File

@ -94,7 +94,7 @@ final class WP_Customize_Widgets {
* *
* @since 3.9.0 * @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 ) { public function __construct( $manager ) {
$this->manager = $manager; $this->manager = $manager;

View File

@ -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]`. * @throws Exception If the setting ID does not match the pattern `custom_css[$stylesheet]`.
* *
* @param WP_Customize_Manager $manager The Customize Manager class. * @param WP_Customize_Manager $manager Customizer bootstrap instance.
* @param string $id An specific ID of the setting. Can be a * @param string $id A specific ID of the setting.
* theme mod or option name. * Can be a theme mod or option name.
* @param array $args Setting arguments. * @param array $args Setting arguments.
*/ */
public function __construct( $manager, $id, $args = array() ) { public function __construct( $manager, $id, $args = array() ) {

View File

@ -155,9 +155,9 @@ class WP_Customize_Nav_Menu_Item_Setting extends WP_Customize_Setting {
* *
* @since 4.3.0 * @since 4.3.0
* *
* @param WP_Customize_Manager $manager Bootstrap Customizer instance. * @param WP_Customize_Manager $manager Customizer bootstrap instance.
* @param string $id An specific ID of the setting. Can be a * @param string $id A specific ID of the setting.
* theme mod or option name. * Can be a theme mod or option name.
* @param array $args Optional. Setting arguments. * @param array $args Optional. Setting arguments.
* *
* @throws Exception If $id is not valid for this setting type. * @throws Exception If $id is not valid for this setting type.

View File

@ -125,9 +125,9 @@ class WP_Customize_Nav_Menu_Setting extends WP_Customize_Setting {
* *
* @since 4.3.0 * @since 4.3.0
* *
* @param WP_Customize_Manager $manager Bootstrap Customizer instance. * @param WP_Customize_Manager $manager Customizer bootstrap instance.
* @param string $id An specific ID of the setting. Can be a * @param string $id A specific ID of the setting.
* theme mod or option name. * Can be a theme mod or option name.
* @param array $args Optional. Setting arguments. * @param array $args Optional. Setting arguments.
* *
* @throws Exception If $id is not valid for this setting type. * @throws Exception If $id is not valid for this setting type.

View File

@ -37,7 +37,7 @@ class WP_Customize_New_Menu_Section extends WP_Customize_Section {
* @deprecated 4.9.0 * @deprecated 4.9.0
* *
* @param WP_Customize_Manager $manager Customizer bootstrap instance. * @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. * @param array $args Section arguments.
*/ */
public function __construct( WP_Customize_Manager $manager, $id, array $args = array() ) { public function __construct( WP_Customize_Manager $manager, $id, array $args = array() ) {

View File

@ -58,7 +58,7 @@ final class WP_Customize_Selective_Refresh {
* *
* @since 4.5.0 * @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 ) { public function __construct( WP_Customize_Manager $manager ) {
$this->manager = $manager; $this->manager = $manager;

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.