id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 40861,REST API saves attachments with absolute path for `_wp_attached_file` on Windows platforms,redcastor,SergeyBiryukov,"On windows, create media with rest api insert the meta ""_wp_attached_file"" not correctly. It save the absolute path and not the relative path. the function ""wp_slash"" add backslash in windows file path. file: class-rest-attachements-controller.php line: 150 {{{#!php