[wp-trac] [WordPress Trac] #39562: Responsive images: Changing upload path for new attachments will cause srcset path bug

WordPress Trac noreply at wordpress.org
Fri Jan 13 20:44:06 UTC 2017


#39562: Responsive images: Changing upload path for new attachments will cause
srcset path bug
-------------------------------+------------------------------
 Reporter:  zairwolf           |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  4.7
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by joemcgill):

 For images that are contained in post content, the `src` is not generated
 dynamically. But in the `src` is dynamic for image previews in the media
 library and for images generated dynamically on the front end (e.g.,
 post_thumbnails). In those cases, `wp_get_attachment_url()`
 uses`wp_get_upload_dir()` to create the URL path.

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


More information about the wp-trac mailing list