[wp-trac] [WordPress Trac] #56810: Wrong doc for block_editor_rest_api_preload()
WordPress Trac
noreply at wordpress.org
Wed Nov 9 09:50:07 UTC 2022
#56810: Wrong doc for block_editor_rest_api_preload()
------------------------------+-----------------------
Reporter: Chouby | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.2
Component: Editor | Version: 5.8
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses: docs
------------------------------+-----------------------
Changes (by audrasjb):
* owner: (none) => audrasjb
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"54776" 54776]:
{{{
#!CommitTicketReference repository="" revision="54776"
Docs: Fix `block_editor_rest_api_preload()` parameter type.
This changeset fixes the `$preload_paths` parameter type for
`block_editor_rest_api_preload()` and related hooks. This parameter
expects an array of strings OR an array where the path is the first
element (index 0) of this array.
Props chouby.
Fixes #56810.
See #56792.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56810#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list