Docs: Correct return type for `get_block_metadata_i18n_schema()`.

Props jeremyfelt.
Fixes #55243.
See #54729.

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


git-svn-id: http://core.svn.wordpress.org/trunk@52382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-02-24 08:27:09 +00:00
parent 654d1477a9
commit 401e5d7175
2 changed files with 2 additions and 2 deletions

View File

@ -203,7 +203,7 @@ function register_block_style_handle( $metadata, $field_name ) {
* *
* @since 5.9.0 * @since 5.9.0
* *
* @return array The schema for block's metadata. * @return object The schema for block's metadata.
*/ */
function get_block_metadata_i18n_schema() { function get_block_metadata_i18n_schema() {
static $i18n_block_schema; static $i18n_block_schema;

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.0-alpha-52792'; $wp_version = '6.0-alpha-52793';
/** /**
* 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.