wp/wp-includes/customize/class-wp-customize-header-image-setting.php
changeset 19 3d72ae0968f4
parent 16 a86126ab1dd4
child 21 48c4eec2b7e6
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
    22 	/**
    22 	/**
    23 	 * @since 3.4.0
    23 	 * @since 3.4.0
    24 	 *
    24 	 *
    25 	 * @global Custom_Image_Header $custom_image_header
    25 	 * @global Custom_Image_Header $custom_image_header
    26 	 *
    26 	 *
    27 	 * @param $value
    27 	 * @param mixed $value The value to update.
    28 	 */
    28 	 */
    29 	public function update( $value ) {
    29 	public function update( $value ) {
    30 		global $custom_image_header;
    30 		global $custom_image_header;
    31 
    31 
    32 		// If _custom_header_background_just_in_time() fails to initialize $custom_image_header when not is_admin().
    32 		// If _custom_header_background_just_in_time() fails to initialize $custom_image_header when not is_admin().