Skip to content

Commit 2931542

Browse files
committed
add note
1 parent 12f0bf9 commit 2931542

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/welcome/index.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,9 @@ public function enqueue_dashboard_script( $hook ) {
6060
wp_enqueue_script( 'wp-i18n' );
6161
wp_enqueue_script( 'wp-element' );
6262
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' );
6365
wp_enqueue_script( 'wp-util' ); // Need wp.ajax.
64-
wp_enqueue_script( 'wp-plugins' ); // Need registerPlugin
6566
wp_enqueue_script( 'wp-components' ); // Need Spinner.
6667
wp_enqueue_style( 'wp-components' ); // Need Spinner.
6768

0 commit comments

Comments
 (0)