Skip to content
Snippets Groups Projects
Commit 7138238a authored by vasili.guruli's avatar vasili.guruli
Browse files

Unit test fix-test01

parent 6528aa5f
No related branches found
No related tags found
No related merge requests found
Pipeline #9456 failed
...@@ -317,7 +317,7 @@ if ( ! class_exists( 'WPDesk_Basic_Requirement_Checker' ) ) { ...@@ -317,7 +317,7 @@ if ( ! class_exists( 'WPDesk_Basic_Requirement_Checker' ) ) {
*/ */
private function get_existing_plugins() { private function get_existing_plugins() {
if( ! function_exists( 'get_plugins' ) ) { if( ! function_exists( 'get_plugins' ) ) {
require_once( ABSPATH . 'wp-admin/includes/plugin.php' ); require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
} }
return ( get_plugins() ? get_plugins() : [] ); return ( get_plugins() ? get_plugins() : [] );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment