WordPress.org

Make WordPress Core

Changeset 32036


Ignore:
Timestamp:
04/05/2015 03:35:22 PM (4 years ago)
Author:
DrewAPicture
Message:

Add missing parameter and return descriptions to WP_Customize_Widgets->filter_customize_dynamic_setting_args().

See [31370]. See #31888.

File:
1 edited

Legend:

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

    r32035 r32036  
    129129     *
    130130     * @since 4.2.0
     131     * @access public
    131132     */
    132133    public function register_settings() {
     
    160161     *
    161162     * @since 4.2.0
    162      *
    163      * @param false|array $args
    164      * @param string $setting_id
    165      * @return false|array
     163     * @access public
     164     *
     165     * @param false|array $setting_args The arguments to the WP_Customize_Setting constructor.
     166     * @param string      $setting_id   ID for dynamic setting, usually coming from `$_POST['customized']`.
     167     * @return false|array Setting arguments, false otherwise.
    166168     */
    167169    public function filter_customize_dynamic_setting_args( $args, $setting_id ) {
Note: See TracChangeset for help on using the changeset viewer.