[wp-trac] [WordPress Trac] #37636: wp_get_attachment_image_srcset not well implemented in header of twenty sixteen

WordPress Trac noreply at wordpress.org
Thu Aug 11 08:47:45 UTC 2016


#37636: wp_get_attachment_image_srcset not well implemented in header of twenty
sixteen
---------------------------+-----------------------------
 Reporter:  michelwppi     |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:  trunk
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 attribut srcset in header is not well implemented ! get_custom_header
 don't have property attachment_id !
 Line number 93 of header.php - version 1.2
 {{{#!php
 srcset="<?php echo esc_attr( wp_get_attachment_image_srcset(
 get_custom_header()->attachment_id ) ); ?>"
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37636>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list