Cleanup DocBlock syntax, add a missing parameter description for `WP_Customize_Manager->set_post_value()`.

See [31370]. See #31888.


git-svn-id: https://develop.svn.wordpress.org/trunk@32031 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2015-04-05 15:02:24 +00:00
parent 4bc17916a4
commit 34a23ca66c
1 changed files with 5 additions and 3 deletions

View File

@ -118,6 +118,7 @@ final class WP_Customize_Manager {
*
* @since 3.4.0
* @since 4.2.0 Added `$action` param.
* @access public
*
* @param string|null $action Whether the supplied AJAX action is being run.
* @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
* @access public
*
* @param string $setting_id The ID for the WP_Customize_Setting instance.
* @param mixed $value
* @param string $setting_id ID for the WP_Customize_Setting instance.
* @param mixed $value Post value.
*/
public function set_post_value( $setting_id, $value ) {
$this->unsanitized_post_values();