diff --git a/wp-includes/blocks.php b/wp-includes/blocks.php index f5541e0ae96..4e90fde121f 100644 --- a/wp-includes/blocks.php +++ b/wp-includes/blocks.php @@ -988,10 +988,10 @@ function wp_migrate_old_typography_shape( $metadata ) { if ( null !== $support_for_key ) { trigger_error( /* translators: %1$s: Block type, %2$s: typography supports key e.g: fontSize, lineHeight etc... */ - sprintf( __( 'Block %1$s is declaring %2$s support on block.json under supports.%2$s. %2$s support is now declared under supports.typography.%2$s.', 'gutenberg' ), $metadata['name'], $typography_key ), + sprintf( __( 'Block %1$s is declaring %2$s support on block.json under supports.%2$s. %2$s support is now declared under supports.typography.%2$s.' ), $metadata['name'], $typography_key ), headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE ); - gutenberg_experimental_set( $metadata['supports'], array( 'typography', $typography_key ), $support_for_key ); + _wp_array_set( $metadata['supports'], array( 'typography', $typography_key ), $support_for_key ); unset( $metadata['supports'][ $typography_key ] ); } } diff --git a/wp-includes/version.php b/wp-includes/version.php index db5700367c2..ed822d5ed09 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-beta1-51147'; +$wp_version = '5.8-beta1-51148'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.