Changeset 56742 for trunk/src/wp-includes/block-supports/colors.php
- Timestamp:
- 09/29/2023 10:18:05 AM (2 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/block-supports/colors.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/colors.php
r56709 r56742 18 18 function wp_register_colors_support( $block_type ) { 19 19 $color_support = false; 20 if ( property_exists( $block_type, 'supports' )) {20 if ( $block_type instanceof WP_Block_Type ) { 21 21 $color_support = isset( $block_type->supports['color'] ) ? $block_type->supports['color'] : false; 22 22 }
Note: See TracChangeset
for help on using the changeset viewer.