diff --git a/src/wp-settings.php b/src/wp-settings.php
index 2772568dee..b080069cfb 100644
|
a
|
b
|
require ABSPATH . WPINC . '/interactivity-api/class-wp-interactivity-api.php'; |
| 389 | 389 | require ABSPATH . WPINC . '/interactivity-api/class-wp-interactivity-api-directives-processor.php'; |
| 390 | 390 | require ABSPATH . WPINC . '/interactivity-api/interactivity-api.php'; |
| 391 | 391 | |
| | 392 | // Register the default theme directory root. |
| | 393 | // This has to happen before wp_script_modules is registered |
| | 394 | // because wp_script_modules needs to know if the current theme is a block theme. |
| | 395 | register_theme_directory( get_theme_root() ); |
| | 396 | |
| 392 | 397 | wp_script_modules()->add_hooks(); |
| 393 | 398 | wp_interactivity()->add_hooks(); |
| 394 | 399 | |
| … |
… |
create_initial_post_types(); |
| 490 | 495 | |
| 491 | 496 | wp_start_scraping_edited_file_errors(); |
| 492 | 497 | |
| 493 | | // Register the default theme directory root. |
| 494 | | register_theme_directory( get_theme_root() ); |
| 495 | | |
| 496 | 498 | if ( ! is_multisite() && wp_is_fatal_error_handler_enabled() ) { |
| 497 | 499 | // Handle users requesting a recovery mode link and initiating recovery mode. |
| 498 | 500 | wp_recovery_mode()->initialize(); |