From bf1eb072e5dd0749b4beb417aeb13c329cb2a55e Mon Sep 17 00:00:00 2001 From: davidperezgar Date: Thu, 24 Oct 2024 23:56:55 +0200 Subject: [PATCH] fix tests --- includes/Checker/Checks/Plugin_Repo/File_Type_Check.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/includes/Checker/Checks/Plugin_Repo/File_Type_Check.php b/includes/Checker/Checks/Plugin_Repo/File_Type_Check.php index 321e17e80..a46d1d54c 100644 --- a/includes/Checker/Checks/Plugin_Repo/File_Type_Check.php +++ b/includes/Checker/Checks/Plugin_Repo/File_Type_Check.php @@ -308,8 +308,8 @@ function ( $file ) use ( $plugin_path ) { */ protected function look_for_library_core_files( Check_Result $result, array $files ) { // Known libraries that are part of WordPress core. - // https://meta.trac.wordpress.org/browser/sites/trunk/api.wordpress.org/public_html/core/credits/wp-59.php#L739 - $look_known_LibrariesCore_services = array( + // https://meta.trac.wordpress.org/browser/sites/trunk/api.wordpress.org/public_html/core/credits/wp-59.php#L739 . + $look_known_libraries_core_services = array( '(?plugin()->path();