We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9e3803 commit df169cbCopy full SHA for df169cb
1 file changed
src/Properties/PluginProperties.php
@@ -84,8 +84,10 @@ protected function __construct(string $pluginMainFile)
84
if (!function_exists('get_plugin_data')) {
85
require_once ABSPATH . 'wp-admin/includes/plugin.php';
86
}
87
-
88
- $pluginData = get_plugin_data($pluginMainFile);
+
+ // $markup = false, to avoid an incorrect early wptexturize call. Also we probably don't want HTML here anyway
89
+ // @see https://core.trac.wordpress.org/ticket/49965
90
+ $pluginData = get_plugin_data($pluginMainFile, false);
91
$properties = Properties::DEFAULT_PROPERTIES;
92
93
// Map pluginData to internal structure.
0 commit comments