Changeset 56742 for trunk/src/wp-includes/block-supports/typography.php
- Timestamp:
- 09/29/2023 10:18:05 AM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/typography.php
r56709 r56742 17 17 */ 18 18 function wp_register_typography_support( $block_type ) { 19 if ( ! property_exists( $block_type, 'supports') ) {19 if ( ! ( $block_type instanceof WP_Block_Type ) ) { 20 20 return; 21 21 } … … 86 86 */ 87 87 function wp_apply_typography_support( $block_type, $block_attributes ) { 88 if ( ! property_exists( $block_type, 'supports') ) {88 if ( ! ( $block_type instanceof WP_Block_Type ) ) { 89 89 return array(); 90 90 }
Note: See TracChangeset
for help on using the changeset viewer.