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

WordPress Trac noreply at wordpress.org
Sun Dec 20 02:00:13 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 https                                    |     Focuses:  template
-------------------------------------------------+-------------------------

Comment (by azaozz):

 In 35045.7.diff: add `wp_calculate_image_srcset_dirname_match` filter for
 the sake of plugins that add external image sources but do not maintain
 the year/month sub-dirs. This allows them to easily manipulate the image
 path before we check for a match.

 This patch also fixes #35102.

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


More information about the wp-trac mailing list