WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/25/2020 04:39:36 PM (12 months ago)
Author:
SergeyBiryukov
Message:

Docs: Add a reference to WP_Customize_Control::__construct() for information on accepted arguments in WP_Customize_Manager::add_control().

Synchronize the documentation between two places, use WP_Customize_Control::__construct() as the canonical source.

Props hAmpzter, marekdedic, SergeyBiryukov.
Fixes #48343.

File:
1 edited

Legend:

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

    r47363 r47364  
    5050     * @param array                $args    Optional. Arguments to override class property defaults.
    5151     *                                      See WP_Customize_Control::__construct() for information
    52      *                                      on accepted arguments.
     52     *                                      on accepted arguments. Default empty array.
    5353     */
    5454    public function __construct( $manager, $id, $args = array() ) {
Note: See TracChangeset for help on using the changeset viewer.