From 13e3b0fea6d145cc93a11258784aaadcb1566c68 Mon Sep 17 00:00:00 2001 From: Mukesh Panchal Date: Tue, 5 Dec 2023 11:26:48 +0530 Subject: [PATCH] Fix minor UI and thickbox issue --- admin/load.php | 2 ++ admin/plugins.php | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/admin/load.php b/admin/load.php index dcf82340ae..49817cc6b1 100644 --- a/admin/load.php +++ b/admin/load.php @@ -529,6 +529,8 @@ function perflab_enqueue_modules_page_scripts() { wp_enqueue_script( 'thickbox' ); wp_enqueue_style( 'thickbox' ); + + wp_enqueue_script( 'plugin-install' ); } /** diff --git a/admin/plugins.php b/admin/plugins.php index 6b93683fa8..187a97e3b2 100644 --- a/admin/plugins.php +++ b/admin/plugins.php @@ -15,7 +15,6 @@ * @since n.e.x.t * * @param string $plugin_slug The string identifier for the plugin in questions slug. - * * @return array Array of plugin data, or empty if none/error. */ function perflab_query_plugin_info( string $plugin_slug ) { @@ -46,7 +45,7 @@ function perflab_query_plugin_info( string $plugin_slug ) { * * @since n.e.x.t * - * @return array of wpp standalone plugins as slugs. + * @return array List of WPP standalone plugins as slugs. */ function perflab_get_standalone_plugins() { return array( @@ -76,7 +75,7 @@ function perflab_render_plugins_ui() { return; } ?> -
+