PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3
Jetpack – WP Security, Backup, Speed, & Growth v16.3
16.3 16.3-beta 16.3-a.5 16.3-a.7 16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 All 508 releases
← All changes | jetpack_vendor/automattic/jetpack-assets/actions.php +2 -0 16.2 → 16.3 View file →
@@ -6,8 +6,10 @@
6 6 */
7 7
8 8 // If WordPress's plugin API is available already, use it. If not,
9 9 // drop data into `$wp_filter` for `WP_Hook::build_preinitialized_hooks()`.
10 +// Anything hooked on plugins_loaded here must also be re-run from
11 +// Assets::ensure_package_bootstrap(), or an older sibling copy silently skips it. JETPACK-2649.
10 12 if ( function_exists( 'add_action' ) ) {
11 13 add_action( 'wp_default_scripts', array( Automattic\Jetpack\Assets::class, 'wp_default_scripts_hook' ) );
12 14 add_action( 'plugins_loaded', array( Automattic\Jetpack\Assets\Script_Data::class, 'configure' ), 1 );
13 15 add_action( 'plugins_loaded', array( Automattic\Jetpack\Assets\Shared_Stores_Assets::class, 'configure' ), 1 );