[wp-trac] [WordPress Trac] #45194: [Gutenberg] Preload wp/v2/media using the OPTIONS method to manage `upload_files` capability

WordPress Trac noreply at wordpress.org
Mon May 11 00:35:25 UTC 2026


#45194: [Gutenberg] Preload wp/v2/media using the OPTIONS method to manage
`upload_files` capability
------------------------------------------------+--------------------------
 Reporter:  imath                               |       Owner:
                                                |  danielbachhuber
     Type:  enhancement                         |      Status:  closed
 Priority:  normal                              |   Milestone:  5.0
Component:  Editor                              |     Version:  5.0
 Severity:  normal                              |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests fixed-5.0  |     Focuses:  rest-api
------------------------------------------------+--------------------------

Comment (by westonruter):

 Follow-up: #65215, which goes beyond allowing the method to be specified
 to also allow non-OK responses to be sent to the preload middleware.

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


More information about the wp-trac mailing list