Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20871, comment 1


Ignore:
Timestamp:
06/07/2012 11:25:41 AM (12 years ago)
Author:
kovshenin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20871, comment 1

    initial v1  
    11Also, the `WP_Customize_Header_Image_Control` doesn't seem to even touch the `header_image_data` theme mod. Setting the custom header from Appearance > Header (A) and then setting it to a different header using Live Preview (B) will change `header_image` to image B, but `header_image_data` will still have the data for image A.
     2
     3If `set_theme_mod` had an action or a filter, we could hook to that to see if header image was set to `remove-header` and use `remove_theme_mod` with `header_image_data` like in [http://core.trac.wordpress.org/attachment/ticket/20871/20871.diff 20871.diff]. I believe that would address both issues. Thoughts?