[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:19:03 UTC 2018
#45194: [Gutenberg] Preload wp/v2/media using the OPTIONS method to manage
`upload_files` capability
--------------------------------------+-----------------------
Reporter: imath | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.0
Component: Editor | Version: 5.0
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: rest-api
--------------------------------------+-----------------------
Comment (by danielbachhuber):
In 45194.2.diff:
* Apply a `block_editor_preload_paths` filter to allow plugins / themes to
preload additional paths.
* Enforce strict format of `$path` with `is_array( $path ) && 2 === count(
$path )`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45194#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list