Skip to content

Commit

Permalink
Fix minor UI and thickbox issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mukeshpanchal27 committed Dec 5, 2023
1 parent 9dd7e91 commit 13e3b0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions admin/load.php
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,8 @@ function perflab_enqueue_modules_page_scripts() {

wp_enqueue_script( 'thickbox' );
wp_enqueue_style( 'thickbox' );

wp_enqueue_script( 'plugin-install' );
}

/**
Expand Down
5 changes: 2 additions & 3 deletions admin/plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -76,7 +75,7 @@ function perflab_render_plugins_ui() {
return;
}
?>
<div class="wrap">
<div class="wrap plugin-install-php">
<h1><?php esc_html_e( 'Performance Plugins', 'performance-lab' ); ?></h1>
<p><?php esc_html_e( 'The following standalone performance plugins are available for installation.', 'performance-lab' ); ?></p>
<div class="wrap">
Expand Down

0 comments on commit 13e3b0f

Please sign in to comment.