[wp-trac] [WordPress Trac] #33005: Removing header image attachement does not remove header_image_data theme mod

WordPress Trac noreply at wordpress.org
Wed Jul 15 14:59:44 UTC 2015


#33005: Removing header image attachement does not remove header_image_data theme
mod
------------------------------+-----------------------------
 Reporter:  CreativeInfusion  |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Themes            |    Version:  4.0
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 If you delete an attachment from the media library that is set as a header
 image then although it deletes the header_image theme mod it does not
 delete the header_image_data theme mod.

 This results in incompatible data being returned from get_custom_header
 and get_header_image.

 Related #20871 #25156

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33005>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list