Make WordPress Core


Ignore:
Timestamp:
02/25/2020 04:19:08 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add a reference to WP_Customize_Control::__construct() for information on accepted arguments to override class property defaults in child classes.

Props marcio-zebedeu, marekdedic.
Fixes #48348.

File:
1 edited

Legend:

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

    r46637 r47363  
    3535     * @deprecated 4.9.0
    3636     *
    37      * @param WP_Customize_Manager $manager Manager.
    38      * @param string               $id      ID.
    39      * @param array                $args    Args.
     37     * @param WP_Customize_Manager $manager Customizer bootstrap instance.
     38     * @param string               $id      The control ID.
     39     * @param array                $args    Optional. Arguments to override class property defaults.
     40     *                                      See WP_Customize_Control::__construct() for information
     41     *                                      on accepted arguments.
    4042     */
    4143    public function __construct( WP_Customize_Manager $manager, $id, array $args = array() ) {
Note: See TracChangeset for help on using the changeset viewer.