Changeset 51148 for trunk/src/wp-includes/blocks.php
- Timestamp:
- 06/14/2021 11:43:21 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks.php
r51102 r51148 989 989 trigger_error( 990 990 /* translators: %1$s: Block type, %2$s: typography supports key e.g: fontSize, lineHeight etc... */ 991 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 ),991 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 ), 992 992 headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE 993 993 ); 994 gutenberg_experimental_set( $metadata['supports'], array( 'typography', $typography_key ), $support_for_key );994 _wp_array_set( $metadata['supports'], array( 'typography', $typography_key ), $support_for_key ); 995 995 unset( $metadata['supports'][ $typography_key ] ); 996 996 }
Note: See TracChangeset
for help on using the changeset viewer.