Changeset 54498
- Timestamp:
- 10/11/2022 06:43:52 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-block-supports.php
r54133 r54498 95 95 */ 96 96 public function apply_block_supports() { 97 $block_attributes = self::$block_to_render['attrs']; 98 $block_type = WP_Block_Type_Registry::get_instance()->get_registered( 97 $block_type = WP_Block_Type_Registry::get_instance()->get_registered( 99 98 self::$block_to_render['blockName'] 100 99 ); … … 104 103 return array(); 105 104 } 105 106 $block_attributes = array_key_exists( 'attrs', self::$block_to_render ) 107 ? self::$block_to_render['attrs'] 108 : array(); 106 109 107 110 $output = array();
Note: See TracChangeset
for help on using the changeset viewer.