Docs: Add a `@see` reference to `WP_Customize_Control::__construct()` in child class constructors.

Follow-up to [47363], [47364].

See #48343, #48348.

git-svn-id: https://develop.svn.wordpress.org/trunk@47382 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-02-26 13:29:01 +00:00
parent bc5a7e9506
commit aab2667898
5 changed files with 10 additions and 1 deletions

View File

@ -3998,6 +3998,8 @@ final class WP_Customize_Manager {
* @since 3.4.0
* @since 4.5.0 Return added WP_Customize_Control instance.
*
* @see WP_Customize_Control::__construct()
*
* @param WP_Customize_Control|string $id Customize Control object, or ID.
* @param array $args Optional. Array of properties for the new Control object.
* See WP_Customize_Control::__construct() for information

View File

@ -41,7 +41,8 @@ class WP_Customize_Color_Control extends WP_Customize_Control {
* Constructor.
*
* @since 3.4.0
* @uses WP_Customize_Control::__construct()
*
* @see WP_Customize_Control::__construct()
*
* @param WP_Customize_Manager $manager Customizer bootstrap instance.
* @param string $id Control ID.

View File

@ -45,6 +45,8 @@ class WP_Customize_Media_Control extends WP_Customize_Control {
* @since 4.1.0
* @since 4.2.0 Moved from WP_Customize_Upload_Control.
*
* @see WP_Customize_Control::__construct()
*
* @param WP_Customize_Manager $manager Customizer bootstrap instance.
* @param string $id Control ID.
* @param array $args Optional. Arguments to override class property defaults.

View File

@ -34,6 +34,8 @@ class WP_Customize_New_Menu_Control extends WP_Customize_Control {
* @since 4.9.0
* @deprecated 4.9.0
*
* @see WP_Customize_Control::__construct()
*
* @param WP_Customize_Manager $manager Customizer bootstrap instance.
* @param string $id The control ID.
* @param array $args Optional. Arguments to override class property defaults.

View File

@ -31,6 +31,8 @@ class WP_Customize_Site_Icon_Control extends WP_Customize_Cropped_Image_Control
*
* @since 4.3.0
*
* @see WP_Customize_Control::__construct()
*
* @param WP_Customize_Manager $manager Customizer bootstrap instance.
* @param string $id Control ID.
* @param array $args Optional. Arguments to override class property defaults.