diff --git a/src/Find_Command.php b/src/Find_Command.php index cd9c50f..12d031f 100644 --- a/src/Find_Command.php +++ b/src/Find_Command.php @@ -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, );