[wp-trac] [WordPress Trac] #21389: Retina theme custom headers

WordPress Trac noreply at wordpress.org
Wed Nov 4 20:05:55 UTC 2015


#21389: Retina theme custom headers
-------------------------------+------------------------
 Reporter:  nacin              |       Owner:  joemcgill
     Type:  task (blessed)     |      Status:  assigned
 Priority:  normal             |   Milestone:  4.4
Component:  Customize          |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  responsive-images  |     Focuses:
-------------------------------+------------------------

Comment (by azaozz):

 As far as I see most themes repeat the same code when adding custom header
 images. I'm a bit surprised that there isn't a "template helper" function
 for themes that will output the whole image tag. Thinking such function
 (that also adds `srcset`) will be the best solution here.

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


More information about the wp-trac mailing list