You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/welcome/index.php
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -60,8 +60,9 @@ public function enqueue_dashboard_script( $hook ) {
60
60
wp_enqueue_script( 'wp-i18n' );
61
61
wp_enqueue_script( 'wp-element' );
62
62
wp_enqueue_script( 'wp-hooks' );
63
+
// Dev note: Load wp-plugins to ensure registerPlugin is available for guided tours. This prevents issues where wp.plugins is missing in WP 6.5.5, which can cause errors and break the settings page.
64
+
wp_enqueue_script( 'wp-plugins' );
63
65
wp_enqueue_script( 'wp-util' ); // Need wp.ajax.
64
-
wp_enqueue_script( 'wp-plugins' ); // Need registerPlugin
65
66
wp_enqueue_script( 'wp-components' ); // Need Spinner.
66
67
wp_enqueue_style( 'wp-components' ); // Need Spinner.
0 commit comments