From 155017ae7b2d37a1a65406179ec29c0958a43728 Mon Sep 17 00:00:00 2001 From: Joe McGill Date: Fri, 10 Nov 2023 15:10:35 +0000 Subject: [PATCH] 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 --- src/wp-includes/block-patterns.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/block-patterns.php b/src/wp-includes/block-patterns.php index b74f75611f..66bdfd68e7 100644 --- a/src/wp-includes/block-patterns.php +++ b/src/wp-includes/block-patterns.php @@ -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() {