Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Slightly different approach to generating the path
  • Loading branch information
danielbachhuber committed Apr 26, 2024
commit c94e23f88d2e3f4ce61c310c6dc151f1d2a0de43
2 changes: 1 addition & 1 deletion src/Plugin_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ protected function get_item_list() {
];

if ( $this->check_headers['tested_up_to'] ) {
$plugin_readme = normalize_path( WP_PLUGIN_DIR . '/' . $name . '/readme.txt' );
$plugin_readme = normalize_path( dirname( WP_PLUGIN_DIR . '/' . $file ) . '/readme.txt' );

if ( file_exists( $plugin_readme ) && is_readable( $plugin_readme ) ) {
$readme_obj = new SplFileObject( $plugin_readme );
Expand Down