[wp-trac] [WordPress Trac] #40861: REST API saves attachments with absolute path for `_wp_attached_file` on Windows platforms (was: Rest Api create media)

WordPress Trac noreply at wordpress.org
Fri Mar 2 09:56:55 UTC 2018


#40861: REST API saves attachments with absolute path for `_wp_attached_file` on
Windows platforms
--------------------------+------------------
 Reporter:  redcastor     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.0
Component:  REST API      |     Version:  4.6
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------
Changes (by ocean90):

 * keywords:   => needs-patch
 * version:  4.7.5 => 4.6


Comment:

 Looks like `_wp_relative_upload_path()` is missing here.

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


More information about the wp-trac mailing list