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

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 9 18:44:40 UTC 2012


#20871: Removing header image does not remove header_image_data theme mod
-----------------------------+------------------
 Reporter:  kovshenin        |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  highest omg bbq  |   Milestone:  3.4
Component:  Appearance       |     Version:  3.4
 Severity:  blocker          |  Resolution:
 Keywords:                   |
-----------------------------+------------------

Comment (by nacin):

 [attachment:20871.4.diff] reduces things down to three methods:
  * remove_header_image()
  * reset_header_image()
  * set_header_image()

 It also introduces get_header_image_data(), which we can use for filtering
 on the frontend, but it won't be available on the frontend, so... We're
 discussing alternatives. That logic will likely just be duplicated in a
 custom customizer control.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20871#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list