[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
Fri Dec 14 06:01:28 UTC 2018


#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
------------------------------------------------+--------------------------
Changes (by pento):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44172" 44172]:
 {{{
 #!CommitTicketReference repository="" revision="44172"
 Block Editor: Preload `wp/v2/media` with OPTIONS for caps check.

 Also introduces a `block_editor_preload_paths` filter for plugins and
 themes to preload additional data.

 Merges [43833] from the 5.0 branch to trunk.

 Props imath, mattheu, danielbachhuber.
 Fixes #45194.
 }}}

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


More information about the wp-trac mailing list