[wp-trac] [WordPress Trac] #27959: get_uploaded_header_images(); should provide alternate text of that image

WordPress Trac noreply at wordpress.org
Tue May 26 20:47:12 UTC 2015


#27959: get_uploaded_header_images(); should provide alternate text of that image
----------------------------+---------------------------
 Reporter:  francoeurdavid  |       Owner:  valendesigns
     Type:  enhancement     |      Status:  assigned
 Priority:  normal          |   Milestone:  4.3
Component:  Customize       |     Version:  3.2
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  template
----------------------------+---------------------------

Comment (by valendesigns):

 @obenland I think the argument here is that the data should be provided
 regardless of if Core uses it or not. Someone could directly use the
 `get_uploaded_header_images` function and there is no alternative text
 attached to the return array. It should be and it doesn't hurt to add it.
 As well, Core is doing it wrong when it comes to adding `alt` text to the
 header images as it's using the description field, which is very
 confusing. This patch would allow us to fix that in a future ticket.

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


More information about the wp-trac mailing list