File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -225,6 +225,11 @@ public static function enqueue_scripts( $hook_suffix ) {
225
225
ACTIVITYPUB_PLUGIN_VERSION ,
226
226
false
227
227
);
228
+
229
+ // Plugin cards in help tab.
230
+ \wp_enqueue_script ( 'plugin-install ' );
231
+ \add_thickbox ();
232
+ \wp_enqueue_script ( 'updates ' );
228
233
}
229
234
230
235
if ( 'index.php ' === $ hook_suffix ) {
Original file line number Diff line number Diff line change @@ -358,11 +358,6 @@ public static function settings_page() {
358
358
\wp_enqueue_media ();
359
359
\wp_enqueue_script ( 'activitypub-header-image ' );
360
360
break ;
361
- case 'welcome ' :
362
- \wp_enqueue_script ( 'plugin-install ' );
363
- \add_thickbox ();
364
- \wp_enqueue_script ( 'updates ' );
365
- break ;
366
361
}
367
362
368
363
if ( ! isset ( $ settings_tabs [ $ tab ] ) ) {
You can’t perform that action at this time.
0 commit comments