[wp-trac] [WordPress Trac] #49096: Allow updating attachments with new files

WordPress Trac noreply at wordpress.org
Thu Jan 2 18:56:13 UTC 2020


#49096: Allow updating attachments with new files
-------------------------+------------------------------
 Reporter:  joehoyle     |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  REST API     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  rest-api
-------------------------+------------------------------

Comment (by joemcgill):

 Unless we had some application that required this functionality in core, I
 would suggest that this is plugin material. The external editor use case
 is definitely and interesting one, but I could also see this opening up
 problems where files are updated on existing attachment posts that
 container totally different metadata which should really have been an
 entirely new object.

 The closest example we currently have in core that I can think of this
 similarly to how custom theme images—like headers and site icons—are
 created now as new attachments instead of updating files for an existing
 attachment.

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


More information about the wp-trac mailing list