[wp-trac] [WordPress Trac] #31742: Customizer: use attachment ID to show current header

WordPress Trac noreply at wordpress.org
Wed Apr 8 22:28:01 UTC 2015


#31742: Customizer: use attachment ID to show current header
--------------------------+----------------------
 Reporter:  sirbrillig    |       Owner:  ocean90
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.2
Component:  Customize     |     Version:  3.9
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+----------------------
Changes (by ocean90):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"32091"]:
 {{{
 #!CommitTicketReference repository="" revision="32091"
 Customize Headers: Improve handling of the initial header model.

 Headers are currently keyed by the basename of the image, see #31786. When
 two images have the same key only one image will be listed and the current
 image can be empty in the header control.
 To prevent this we now fall back to the raw current header image if the
 image isn't in `_wpCustomizeHeader.uploads`.

 props sirbrillig.
 fixes #31742.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31742#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list