Skip to content

Commit

Permalink
Merge pull request #41 from wp-cli/wp-path-field
Browse files Browse the repository at this point in the history
Add `wp_path` as a reported field
  • Loading branch information
miya0001 authored Sep 23, 2017
2 parents 6558f5d + c0cdf25 commit 33aedec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Find_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ private function recurse_directory( $path ) {
$this->found_wp[ $version_path ] = array(
'version_path' => $version_path,
'version' => self::get_wp_version( $version_path ),
'wp_path' => str_replace( 'wp-includes/version.php', '', $version_path ),
'depth' => $this->current_depth - 1,
'alias' => $alias,
);
Expand Down

0 comments on commit 33aedec

Please sign in to comment.