[wp-trac] [WordPress Trac] #56792: Docblock improvements for 6.2
WordPress Trac
noreply at wordpress.org
Wed Feb 1 15:00:34 UTC 2023
#56792: Docblock improvements for 6.2
--------------------------------------+---------------------
Reporter: desrosj | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.2
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: docs
--------------------------------------+---------------------
Comment (by SergeyBiryukov):
In [changeset:"55173" 55173]:
{{{
#!CommitTicketReference repository="" revision="55173"
Docs: Improve documentation for block pattern properties.
Includes:
* Adding the `templateTypes` property to the
`WP_Block_Patterns_Registry::register()` DocBlock.
* Adding `@since` notes for the `postTypes` and `templateTypes` properties
to:
* `_register_theme_block_patterns()`
* `WP_Block_Patterns_Registry::register()`
* Bringing some consistency to the order of properties between:
* `_register_theme_block_patterns()`
* `WP_Block_Patterns_Registry::register()`
* `WP_REST_Block_Patterns_Controller::prepare_item_for_response()`
* `WP_REST_Block_Patterns_Controller::get_item_schema()`
Follow-up to [52943], [53152], [54263], [55168].
See #56792.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56792#comment:74>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list