Make WordPress Core

Changeset 33216


Ignore:
Timestamp:
07/13/2015 08:24:29 PM (9 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-control.php

    r33215 r33216  
    140140     * @since 3.4.0
    141141     *
    142      * @param WP_Customize_Manager $manager
    143      * @param string $id
    144      * @param array $args
     142     * @param WP_Customize_Manager $manager Customizer bootstrap instance.
     143     * @param string               $id      Control ID.
     144     * @param array                $args    Optional. Arguments to override class property defaults.
    145145     */
    146146    public function __construct( $manager, $id, $args = array() ) {
     
    569569     * @uses WP_Customize_Control::__construct()
    570570     *
    571      * @param WP_Customize_Manager $manager
    572      * @param string $id
    573      * @param array $args
     571     * @param WP_Customize_Manager $manager Customizer bootstrap instance.
     572     * @param string               $id      Control ID.
     573     * @param array                $args    Optional. Arguments to override class property defaults.
    574574     */
    575575    public function __construct( $manager, $id, $args = array() ) {
     
    679679     * @since 4.2.0 Moved from WP_Customize_Upload_Control.
    680680     *
    681      * @param WP_Customize_Manager $manager {@see WP_Customize_Manager} instance.
    682      * @param string $id
    683      * @param array $args
     681     * @param WP_Customize_Manager $manager Customizer bootstrap instance.
     682     * @param string               $id      Control ID.
     683     * @param array                $args    Optional. Arguments to override class property defaults.
    684684     */
    685685    public function __construct( $manager, $id, $args = array() ) {
     
    908908     * @uses WP_Customize_Upload_Control::__construct()
    909909     *
    910      * @param WP_Customize_Manager $manager
    911      * @param string $id
    912      * @param array  $args
     910     * @param WP_Customize_Manager $manager Customizer bootstrap instance.
     911     * @param string               $id      Control ID.
     912     * @param array                $args    Optional. Arguments to override class property defaults.
    913913     */
    914914    public function __construct( $manager, $id, $args = array() ) {
     
    976976     * @uses WP_Customize_Image_Control::__construct()
    977977     *
    978      * @param WP_Customize_Manager $manager
     978     * @param WP_Customize_Manager $manager Customizer bootstrap instance.
    979979     */
    980980    public function __construct( $manager ) {
     
    11121112     * @access public
    11131113     *
    1114      * @param WP_Customize_Manager $manager WP_Customize_Manager instance.
     1114     * @param WP_Customize_Manager $manager Customizer bootstrap instance.
    11151115     * @param string               $id      Control ID.
    11161116     * @param array                $args    Optional. Arguments to override class property defaults.
     
    11351135
    11361136    /**
    1137      * @param WP_Customize_Manager $manager
     1137     * Constructor.
     1138     *
     1139     * @since 3.4.0
     1140     *
     1141     * @param WP_Customize_Manager $manager Customizer bootstrap instance.
    11381142     */
    11391143    public function __construct( $manager ) {
     
    16501654     * @see WP_Customize_Control::__construct()
    16511655     *
    1652      * @param WP_Customize_Manager $manager An instance of the WP_Customize_Manager class.
     1656     * @param WP_Customize_Manager $manager Customizer bootstrap instance.
    16531657     * @param string               $id      The control ID.
    16541658     * @param array                $args    Optional. Overrides class property defaults.
Note: See TracChangeset for help on using the changeset viewer.