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.

Built from https://develop.svn.wordpress.org/trunk@57102


git-svn-id: http://core.svn.wordpress.org/trunk@56613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Joe McGill 2023-11-10 15:12:27 +00:00
parent 9f81d01334
commit 832dd52ade
2 changed files with 2 additions and 2 deletions

View File

@ -324,7 +324,7 @@ function _register_remote_theme_patterns() {
* @since 6.0.0 * @since 6.0.0
* @since 6.1.0 The `postTypes` property was added. * @since 6.1.0 The `postTypes` property was added.
* @since 6.2.0 The `templateTypes` 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 * @access private
*/ */
function _register_theme_block_patterns() { function _register_theme_block_patterns() {

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.5-alpha-57101'; $wp_version = '6.5-alpha-57102';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.