[wp-trac] [WordPress Trac] #35106: Responsive images break uploads with full path stored in metadata

WordPress Trac noreply at wordpress.org
Wed Dec 30 00:05:10 UTC 2015


#35106: Responsive images break uploads with full path stored in metadata
--------------------------------------+------------------------
 Reporter:  SergeyBiryukov            |       Owner:  joemcgill
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  4.4.1
Component:  Media                     |     Version:  4.4
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------
Changes (by azaozz):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"36120"]:
 {{{
 #!CommitTicketReference repository="" revision="36120"
 Responsive images: add compatibility for versions < 2.7 when the full
 image path was stored in the metadata. Introduces
 `_wp_get_attachment_relative_path()` and uses it in
 `wp_get_attachment_url()`.

 Props dd32, SergeyBiryukov.
 Fixes #35106 for trunk.
 }}}

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


More information about the wp-trac mailing list