[wp-trac] [WordPress Trac] #46185: Custom logo looses alt text when cropped in customizer

WordPress Trac noreply at wordpress.org
Tue Feb 5 04:01:47 UTC 2019


#46185: Custom logo looses alt text when cropped in customizer
--------------------------+------------------------------
 Reporter:  jarledb       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Customize     |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by jarledb):

 get_theme_mod( 'custom_logo' ) returns the ID of the cropped image, not
 the original image. The cropped image does not have the alt text from the
 original image, and no alt text can be assigned the cropped image through
 media library.

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


More information about the wp-trac mailing list