Changeset 51159
- Timestamp:
- 06/15/2021 04:03:04 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks.php
r51153 r51159 976 976 } 977 977 978 /** 979 * Converts typography keys declared under `supports.*` to `supports.typography.*`. 980 * 981 * Displays a `_doing_it_wrong()` notice when a block using the older format is detected. 982 * 983 * @since 5.8.0 984 * 985 * @param array $metadata Metadata for registering a block type. 986 * @return array Filtered metadata for registering a block type. 987 */ 978 988 function wp_migrate_old_typography_shape( $metadata ) { 979 989 $typography_keys = array(
Note: See TracChangeset
for help on using the changeset viewer.