Index: src/wp-includes/blocks/index.php
===================================================================
--- src/wp-includes/blocks/index.php	(revision 48278)
+++ src/wp-includes/blocks/index.php	(working copy)
@@ -18,41 +18,50 @@
 require ABSPATH . WPINC . '/blocks/social-link.php';
 require ABSPATH . WPINC . '/blocks/tag-cloud.php';
 
-$block_folders = array(
-	'audio',
-	'button',
-	'buttons',
-	'classic',
-	'code',
-	'column',
-	'columns',
-	'file',
-	'gallery',
-	'group',
-	'heading',
-	'html',
-	'image',
-	'list',
-	'media-text',
-	'missing',
-	'more',
-	'nextpage',
-	'paragraph',
-	'preformatted',
-	'pullquote',
-	'quote',
-	'separator',
-	'social-links',
-	'spacer',
-	'subhead',
-	'table',
-	'text-columns',
-	'verse',
-	'video',
-);
+/**
+ * Registers core block types using metadata files.
+ * Dynamic core blocks are registered separately.
+ *
+ * @since 5.5.0
+ */
+function register_core_block_types_from_metadata() {
+	$block_folders = array(
+		'audio',
+		'button',
+		'buttons',
+		'classic',
+		'code',
+		'column',
+		'columns',
+		'file',
+		'gallery',
+		'group',
+		'heading',
+		'html',
+		'image',
+		'list',
+		'media-text',
+		'missing',
+		'more',
+		'nextpage',
+		'paragraph',
+		'preformatted',
+		'pullquote',
+		'quote',
+		'separator',
+		'social-links',
+		'spacer',
+		'subhead',
+		'table',
+		'text-columns',
+		'verse',
+		'video',
+	);
 
-foreach ( $block_folders as $block_folder ) {
-	register_block_type_from_metadata(
-		ABSPATH . WPINC . '/blocks/' . $block_folder
-	);
+	foreach ( $block_folders as $block_folder ) {
+		register_block_type_from_metadata(
+			ABSPATH . WPINC . '/blocks/' . $block_folder
+		);
+	}
 }
+add_action( 'init', 'register_core_block_types_from_metadata' );
Index: tests/phpunit/includes/functions.php
===================================================================
--- tests/phpunit/includes/functions.php	(revision 48278)
+++ tests/phpunit/includes/functions.php	(working copy)
@@ -314,5 +314,6 @@
 	remove_action( 'init', 'register_block_core_social_link' );
 	remove_action( 'init', 'register_block_core_social_link' );
 	remove_action( 'init', 'register_block_core_tag_cloud' );
+	remove_action( 'init', 'register_core_block_types_from_metadata' );
 }
 tests_add_filter( 'init', '_unhook_block_registration', 1000 );
