[wp-trac] [WordPress Trac] #40861: REST API saves attachments with absolute path for `_wp_attached_file` on Windows platforms

WordPress Trac noreply at wordpress.org
Tue Jul 24 16:53:19 UTC 2018


#40861: REST API saves attachments with absolute path for `_wp_attached_file` on
Windows platforms
----------------------------------------+-----------------------------
 Reporter:  redcastor                   |       Owner:  SergeyBiryukov
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:  4.9.8
Component:  REST API                    |     Version:  4.6
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"43530" 43530]:
 {{{
 #!CommitTicketReference repository="" revision="43530"
 REST API: Ensure attachments created with
 `WP_REST_Attachments_Controller::create_item()` on Windows have a relative
 path.

 Props ocean90, SergeyBiryukov, redcastor.
 Merges [43529] to the 4.9 branch.
 Fixes #40861.
 }}}

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


More information about the wp-trac mailing list