diff --git a/wp-includes/version.php b/wp-includes/version.php index 37448933df..82cb1c2db6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-beta1-57660'; +$wp_version = '6.5-beta1-57661'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-settings.php b/wp-settings.php index fe2aef2479..a341cbccdb 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -390,8 +390,8 @@ require ABSPATH . WPINC . '/interactivity-api/class-wp-interactivity-api-directi require ABSPATH . WPINC . '/interactivity-api/interactivity-api.php'; require ABSPATH . WPINC . '/class-wp-plugin-dependencies.php'; -wp_script_modules()->add_hooks(); -wp_interactivity()->add_hooks(); +add_action( 'after_setup_theme', array( wp_script_modules(), 'add_hooks' ) ); +add_action( 'after_setup_theme', array( wp_interactivity(), 'add_hooks' ) ); $GLOBALS['wp_embed'] = new WP_Embed();