[wp-trac] [WordPress Trac] #31786: Customizer: current header image does not show when it has the same name as another header image

WordPress Trac noreply at wordpress.org
Wed Apr 8 22:15:24 UTC 2015


#31786: Customizer: current header image does not show when it has the same name as
another header image
---------------------------------+-----------------------------
 Reporter:  sirbrillig           |       Owner:
     Type:  defect (bug)         |      Status:  new
 Priority:  normal               |   Milestone:  Future Release
Component:  Customize            |     Version:  3.4
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 4.3-early  |     Focuses:
---------------------------------+-----------------------------
Changes (by ocean90):

 * milestone:  Awaiting Review => Future Release


Comment:

 Replying to [ticket:31786 sirbrillig]:
 > This is because the `get_uploaded_header_images` function in
 https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/theme.php#L1181 returns the list of images as an associative
 array keyed by the *basename* of the image.

 Introduced in [17757], changed in [19815].

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


More information about the wp-trac mailing list