[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 Oct 29 00:23:15 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 | Focuses: rest-api
--------------------------------------+------------------------------
Changes (by danielbachhuber):
* owner: (none) => danielbachhuber
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"43833" 43833]:
{{{
#!CommitTicketReference repository="" revision="43833"
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.
Props imath, mattheu.
Fixes #45194.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45194#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list