Docs: Use a consistent description for the $manager parameter in various Customizer class constructions.

See #48303.

git-svn-id: https://develop.svn.wordpress.org/trunk@47383 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-02-26 15:31:19 +00:00
parent aab2667898
commit bd71eb4b74
10 changed files with 18 additions and 18 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;