We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a1c2c7 commit c94e23fCopy full SHA for c94e23f
src/Plugin_Command.php
@@ -748,7 +748,7 @@ protected function get_item_list() {
748
];
749
750
if ( $this->check_headers['tested_up_to'] ) {
751
- $plugin_readme = normalize_path( WP_PLUGIN_DIR . '/' . $name . '/readme.txt' );
+ $plugin_readme = normalize_path( dirname( WP_PLUGIN_DIR . '/' . $file ) . '/readme.txt' );
752
753
if ( file_exists( $plugin_readme ) && is_readable( $plugin_readme ) ) {
754
$readme_obj = new SplFileObject( $plugin_readme );
0 commit comments