[wp-trac] [WordPress Trac] #46124: Allow setting custom image alt text in custom header image

WordPress Trac noreply at wordpress.org
Mon Jan 28 17:21:57 UTC 2019


#46124: Allow setting custom image alt text in custom header image
--------------------------+------------------------------
 Reporter:  webmandesign  |       Owner:  (none)
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  5.0.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  accessibility
--------------------------+------------------------------

Comment (by webmandesign):

 Hi @mukesh27,

 Thank you for the patch. However, please note that
 `$header->attachment_id` is not always set and you are actually now
 removing the default `get_bloginfo( 'name' )` alt text.

 Please note that
 [https://core.trac.wordpress.org/attachment/ticket/46124/ticket46124.diff
 I have already added my own patch for the issue] which is backwards
 compatible with `get_bloginfo( 'name' )` alt text.

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


More information about the wp-trac mailing list