diff -r f507feede89a -r 09a1c134465b web/wp-includes/class-wp-customize-setting.php --- a/web/wp-includes/class-wp-customize-setting.php Wed Dec 19 12:35:13 2012 -0800 +++ b/web/wp-includes/class-wp-customize-setting.php Wed Dec 19 17:46:52 2012 -0800 @@ -1,12 +1,11 @@ _post_value ) ) @@ -138,7 +140,7 @@ * * @since 3.4.0 * - * @param $value mixed The value to sanitize. + * @param mixed $value The value to sanitize. * @return mixed Null if an input isn't valid, otherwise the sanitized value. */ public function sanitize( $value ) { @@ -151,7 +153,7 @@ * * @since 3.4.0 * - * @param $value mixed The value to update. + * @param mixed $value The value to update. * @return mixed The result of saving the value. */ protected function update( $value ) { @@ -172,7 +174,7 @@ * * @since 3.4.0 * - * @param $value mixed The value to update. + * @param mixed $value The value to update. * @return mixed The result of saving the value. */ protected function _update_theme_mod( $value ) { @@ -192,7 +194,7 @@ * * @since 3.4.0 * - * @param $value mixed The value to update. + * @param mixed $value The value to update. * @return mixed The result of saving the value. */ protected function _update_option( $value ) { @@ -276,7 +278,7 @@ * @param $root * @param $keys * @param bool $create Default is false. - * @return null|array + * @return null|array Keys are 'root', 'node', and 'key'. */ final protected function multidimensional( &$root, $keys, $create = false ) { if ( $create && empty( $root ) ) @@ -372,19 +374,36 @@ * A setting that is used to filter a value, but will not save the results. * * Results should be properly handled using another setting or callback. + * + * @package WordPress + * @subpackage Customize + * @since 3.4.0 */ class WP_Customize_Filter_Setting extends WP_Customize_Setting { - public function update() {} + + /** + * @since 3.4.0 + */ + public function update( $value ) {} } /** * A setting that is used to filter a value, but will not save the results. * * Results should be properly handled using another setting or callback. + * + * @package WordPress + * @subpackage Customize + * @since 3.4.0 */ final class WP_Customize_Header_Image_Setting extends WP_Customize_Setting { public $id = 'header_image_data'; + /** + * @since 3.4.0 + * + * @param $value + */ public function update( $value ) { global $custom_image_header; @@ -400,9 +419,20 @@ } } +/** + * @package WordPress + * @subpackage Customize + * @since 3.4.0 + */ final class WP_Customize_Background_Image_Setting extends WP_Customize_Setting { public $id = 'background_image_thumb'; + /** + * @since 3.4.0 + * @uses remove_theme_mod() + * + * @param $value + */ public function update( $value ) { remove_theme_mod( 'background_image_thumb' ); }