Changeset 56678
- Timestamp:
- 09/25/2023 12:15:06 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks.php
r56677 r56678 1590 1590 function block_has_support( $block_type, $feature, $default_value = false ) { 1591 1591 $block_support = $default_value; 1592 if ( $block_type && property_exists( $block_type, 'supports' )) {1592 if ( $block_type instanceof WP_Block_Type ) { 1593 1593 if ( is_array( $feature ) && count( $feature ) === 1 ) { 1594 1594 $feature = $feature[0];
Note: See TracChangeset
for help on using the changeset viewer.