[wp-trac] [WordPress Trac] #9149: Unable to PUT a new image file

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 16 19:05:23 GMT 2009

#9149: Unable to PUT a new image file
 Reporter:  tarmes        |       Owner:  anonymous
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  2.7.2    
Component:  General       |     Version:  2.7      
 Severity:  normal        |    Keywords:           
 It's not possible to update an image using a PUT to the edit-media link.

 Note that wordpress returns 200 indicating success, even though it fails.

 What actually happens is that it retrieves the path to the file relative
 to the uploads folder but then it doesn't prepend the path to the uploads
 folder before trying to open the file for writing.

Ticket URL: <http://core.trac.wordpress.org/ticket/9149>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list