Skip to content

Commit 33aedec

Browse files
authored
Merge pull request #41 from wp-cli/wp-path-field
Add `wp_path` as a reported field
2 parents 6558f5d + c0cdf25 commit 33aedec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Find_Command.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ private function recurse_directory( $path ) {
238238
$this->found_wp[ $version_path ] = array(
239239
'version_path' => $version_path,
240240
'version' => self::get_wp_version( $version_path ),
241+
'wp_path' => str_replace( 'wp-includes/version.php', '', $version_path ),
241242
'depth' => $this->current_depth - 1,
242243
'alias' => $alias,
243244
);

0 commit comments

Comments
 (0)