[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:22:49 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 zairwolf):

 @joemcgill

 `src` isn't generated dynamically. WP reads the attachment's absolute path
 from database in `wp_get_attachment_url()`. Even I changed the upload path
 for future, the old ones are fine. Please tell me if I am wrong.

 So far as I checked, for existing imags, only `srcset` is generated
 dynamically.

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


More information about the wp-trac mailing list