[wp-trac] [WordPress Trac] #23181: Clear Notice from reset_header_image() method in Custom_Image_Header class

WordPress Trac noreply at wordpress.org
Mon Jan 14 08:39:30 UTC 2013


#23181: Clear Notice from reset_header_image() method in Custom_Image_Header class
------------------------------------+------------------
 Reporter:  wpsmith                 |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  3.6
Component:  Appearance              |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------
Changes (by kovshenin):

 * cc: kovshenin (added)


Comment:

 [attachment:23181.patch] can potentially leave old header image data in
 the header_image_data theme mod. If we're checking with `!empty` perhaps
 we should `remove_theme_mod` otherwise. 23181.2.patch looks reasonable,
 since it overwrites the previous value with an empty object.

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


More information about the wp-trac mailing list