Make WordPress Core

Changeset 38299


Ignore:
Timestamp:
08/22/2016 12:40:15 AM (8 years ago)
Author:
westonruter
Message:

Docs: Update outdated phpdoc for WP_Customize_Manager::validate_setting_values() to reflect changes in [37942].

Props dlh.
See #37247.
Fixes #37759.

File:
1 edited

Legend:

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

    r38140 r38299  
    992992     * Validates setting values.
    993993     *
    994      * Sanitization is applied to the values before being passed for validation.
    995994     * Validation is skipped for unregistered settings or for values that are
    996      * already null since they will be skipped anyway.
     995     * already null since they will be skipped anyway. Sanitization is applied
     996     * to values that pass validation, and values that become null or `WP_Error`
     997     * after sanitizing are marked invalid.
    997998     *
    998999     * @since 4.6.0
     
    10021003     * @see WP_Customize_Setting::validate()
    10031004     *
    1004      * @param array $setting_values Mapping of setting IDs to values to sanitize and validate.
     1005     * @param array $setting_values Mapping of setting IDs to values to validate and sanitize.
    10051006     * @return array Mapping of setting IDs to return value of validate method calls, either `true` or `WP_Error`.
    10061007     */
Note: See TracChangeset for help on using the changeset viewer.