Docs: Update outdated phpdoc for `WP_Customize_Manager::validate_setting_values()` to reflect changes in [37942].
Props dlh. See #37247. Fixes #37759. Built from https://develop.svn.wordpress.org/trunk@38299 git-svn-id: http://core.svn.wordpress.org/trunk@38240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4bdd4edb77
commit
44c499329a
|
@ -991,9 +991,10 @@ final class WP_Customize_Manager {
|
|||
/**
|
||||
* Validates setting values.
|
||||
*
|
||||
* Sanitization is applied to the values before being passed for validation.
|
||||
* Validation is skipped for unregistered settings or for values that are
|
||||
* already null since they will be skipped anyway.
|
||||
* already null since they will be skipped anyway. Sanitization is applied
|
||||
* to values that pass validation, and values that become null or `WP_Error`
|
||||
* after sanitizing are marked invalid.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @access public
|
||||
|
@ -1001,7 +1002,7 @@ final class WP_Customize_Manager {
|
|||
* @see WP_REST_Request::has_valid_params()
|
||||
* @see WP_Customize_Setting::validate()
|
||||
*
|
||||
* @param array $setting_values Mapping of setting IDs to values to sanitize and validate.
|
||||
* @param array $setting_values Mapping of setting IDs to values to validate and sanitize.
|
||||
* @return array Mapping of setting IDs to return value of validate method calls, either `true` or `WP_Error`.
|
||||
*/
|
||||
public function validate_setting_values( $setting_values ) {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7-alpha-38298';
|
||||
$wp_version = '4.7-alpha-38299';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue