From 144e5f3193c863fa7799dbe19c66c69954f81355 Mon Sep 17 00:00:00 2001 From: davidperezgar Date: Sat, 2 Nov 2024 09:50:28 +0100 Subject: [PATCH] Force to not make translatable strings --- includes/Checker/Checks/Plugin_Repo/Plugin_Readme_Check.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Checker/Checks/Plugin_Repo/Plugin_Readme_Check.php b/includes/Checker/Checks/Plugin_Repo/Plugin_Readme_Check.php index 71ee0e53..b93d5caf 100644 --- a/includes/Checker/Checks/Plugin_Repo/Plugin_Readme_Check.php +++ b/includes/Checker/Checks/Plugin_Repo/Plugin_Readme_Check.php @@ -147,7 +147,7 @@ private function check_name( Check_Result $result, string $readme_file, Parser $ 9 ); } else { - $plugin_data = get_plugin_data( $result->plugin()->main_file() ); + $plugin_data = get_plugin_data( $result->plugin()->main_file(), true, false ); $plugin_readme_name = html_entity_decode( $parser->name, ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401 ); $plugin_header_name = html_entity_decode( $plugin_data['Name'], ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401 );