diff --git a/includes/Plugin.php b/includes/Plugin.php index 08361ef..c3b1fb4 100644 --- a/includes/Plugin.php +++ b/includes/Plugin.php @@ -54,9 +54,9 @@ protected function setup( $file ) { if ( ! function_exists( 'get_plugin_data' ) ) { require ABSPATH . 'wp-admin/includes/plugin.php'; } - - $data = get_plugin_data( $file ); - + + $data = get_plugin_data( $file, true, false ); + $this->set( 'name', $data['Name'] ?? '' ); $this->set( 'version', $data['Version'] ?? '' ); $this->headers = new Fluent( $data );