Skip to content

Commit

Permalink
fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
mreishus committed Sep 24, 2024
1 parent 904a156 commit bbbd052
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wp-includes/blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ function register_block_type_from_metadata( $file_or_folder, $args = array() ) {
}

// Try to get metadata from the static cache for core blocks.
$metadata = array();
if ( $has_metadata_from_registry ) {
$metadata = WP_Block_Metadata_Registry::get_metadata( $collection, $block_identifier );
}
Expand Down

0 comments on commit bbbd052

Please sign in to comment.