[wp-trac] [WordPress Trac] #35045: Responsive images not added when effective scheme differs from image src scheme

WordPress Trac noreply at wordpress.org
Tue Dec 15 03:20:05 UTC 2015


#35045: Responsive images not added when effective scheme differs from image src
scheme
-------------------------------------------------+-------------------------
 Reporter:  webaware                             |       Owner:
     Type:  defect (bug)                         |  johnbillion
 Priority:  normal                               |      Status:  reviewing
Component:  Media                                |   Milestone:  4.4.1
 Severity:  normal                               |     Version:  4.4
 Keywords:  has-patch needs-testing has-unit-    |  Resolution:
  tests                                          |     Focuses:  template
-------------------------------------------------+-------------------------

Comment (by joemcgill):

 [https://core.trac.wordpress.org/attachment/ticket/35045/35045.2.diff
 35045.2.diff] prepends the upload path from the full size image in the
 metadata to all the intermediate sizes before testing to see if one of the
 image sizes matches the path of the image `src` before adding `srcset` and
 `sizes` attributes.

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


More information about the wp-trac mailing list