mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Docs: Correct return type for get_block_metadata_i18n_schema().
Props jeremyfelt. Fixes #55243. See #54729. git-svn-id: https://develop.svn.wordpress.org/trunk@52793 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -203,7 +203,7 @@ function register_block_style_handle( $metadata, $field_name ) {
|
||||
*
|
||||
* @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() {
|
||||
static $i18n_block_schema;
|
||||
|
||||
Reference in New Issue
Block a user