Cleanup DocBlock syntax, add a missing parameter description for `WP_Customize_Manager->set_post_value()`.
See [31370]. See #31888. Built from https://develop.svn.wordpress.org/trunk@32031 git-svn-id: http://core.svn.wordpress.org/trunk@32010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a91a919d13
commit
4b36885bbd
|
@ -118,6 +118,7 @@ final class WP_Customize_Manager {
|
||||||
*
|
*
|
||||||
* @since 3.4.0
|
* @since 3.4.0
|
||||||
* @since 4.2.0 Added `$action` param.
|
* @since 4.2.0 Added `$action` param.
|
||||||
|
* @access public
|
||||||
*
|
*
|
||||||
* @param string|null $action Whether the supplied AJAX action is being run.
|
* @param string|null $action Whether the supplied AJAX action is being run.
|
||||||
* @return bool True if it's an AJAX request, false otherwise.
|
* @return bool True if it's an AJAX request, false otherwise.
|
||||||
|
@ -478,12 +479,13 @@ final class WP_Customize_Manager {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Override a setting's (unsanitized) value as found in any incoming $_POST['customized']
|
* Override a setting's (unsanitized) value as found in any incoming $_POST['customized'].
|
||||||
*
|
*
|
||||||
* @since 4.2.0
|
* @since 4.2.0
|
||||||
|
* @access public
|
||||||
*
|
*
|
||||||
* @param string $setting_id The ID for the WP_Customize_Setting instance.
|
* @param string $setting_id ID for the WP_Customize_Setting instance.
|
||||||
* @param mixed $value
|
* @param mixed $value Post value.
|
||||||
*/
|
*/
|
||||||
public function set_post_value( $setting_id, $value ) {
|
public function set_post_value( $setting_id, $value ) {
|
||||||
$this->unsanitized_post_values();
|
$this->unsanitized_post_values();
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.2-beta4-32030';
|
$wp_version = '4.2-beta4-32031';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue