[wp-trac] [WordPress Trac] #17604: wp.uploadFile overwrite doesn't work

WordPress Trac noreply at wordpress.org
Mon Jul 31 17:10:56 UTC 2017


#17604: wp.uploadFile overwrite doesn't work
---------------------------------+-----------------------------
 Reporter:  M66B                 |       Owner:  wonderboymusic
     Type:  defect (bug)         |      Status:  closed
 Priority:  normal               |   Milestone:  4.4
Component:  XML-RPC              |     Version:
 Severity:  normal               |  Resolution:  fixed
 Keywords:  has-patch 3.6-early  |     Focuses:
---------------------------------+-----------------------------

Comment (by skreutzer):

 I just wonder: why not make this parameter work as intended? If I need
 "overwrite" functionality, are I am supposed to remove the existing media
 file, upload the new one (with mostly the same data) and handle all the
 linking myself in separate requests?

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


More information about the wp-trac mailing list