[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:51:11 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:
----------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

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

 Props ocean90, SergeyBiryukov, redcastor.
 Fixes #40861.
 }}}

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


More information about the wp-trac mailing list