mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Themes: Correct docblock for _register_theme_block_patterns.
This updates the '@since 6.4.0' annotation in `_register_theme_block_patterns` to reference `WP_Theme::get_block_patterns` instead of `_wp_get_block_patterns`, which was changed in [56978]. Props audrasjb, mukesh27, joemcgill. Fixes #59869. git-svn-id: https://develop.svn.wordpress.org/trunk@57102 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -324,7 +324,7 @@ function _register_remote_theme_patterns() {
|
||||
* @since 6.0.0
|
||||
* @since 6.1.0 The `postTypes` property was added.
|
||||
* @since 6.2.0 The `templateTypes` property was added.
|
||||
* @since 6.4.0 Uses the `_wp_get_block_patterns` function.
|
||||
* @since 6.4.0 Uses the `WP_Theme::get_block_patterns` method.
|
||||
* @access private
|
||||
*/
|
||||
function _register_theme_block_patterns() {
|
||||
|
||||
Reference in New Issue
Block a user