diff --git a/bin/command.php b/bin/command.php index 6dc3e106..ce3affbd 100644 --- a/bin/command.php +++ b/bin/command.php @@ -197,7 +197,7 @@ private static function update_commands_data( $command, &$commands_data, $full ) } } if ( $filename ) { - preg_match( '#wp-cli-dev/([^/]+)#', $filename, $matches ); + preg_match( '#(?:vendor/wp-cli/|wp-cli-dev/)([^/]+)#', $filename, $matches ); if ( ! empty( $matches[1] ) ) { $repo_url = 'https://github.com/wp-cli/' . $matches[1]; } diff --git a/bin/handbook-manifest.json b/bin/handbook-manifest.json index 928bd6ff..a4653349 100644 --- a/bin/handbook-manifest.json +++ b/bin/handbook-manifest.json @@ -42,7 +42,7 @@ "parent": null }, "contributor-day": { - "title": "WordCamp Contributor Day", + "title": "WP-CLI Hack Day", "slug": "contributor-day", "markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/main\/contributor-day.md", "parent": null diff --git a/commands/dist-archive.md b/commands/dist-archive.md index 61d1a098..7d5eeca4 100644 --- a/commands/dist-archive.md +++ b/commands/dist-archive.md @@ -41,7 +41,10 @@ options: \--- [\--filename-format=<filename-format>] -: Use a custom format for archive filename. Defaults to '{name}.{version}'. This is ignored if a custom filename is provided or version does not exist. +: Use a custom format for archive filename. Available substitutions: {name}, {version}. This is ignored if the <target> parameter is provided or the version cannot be determined. +\--- +default: "{name}.{version}" +\--- ### GLOBAL PARAMETERS diff --git a/internal-api/wp-cli-utils-http-request.md b/internal-api/wp-cli-utils-http-request.md index b6c19e8e..de5c1bb5 100644 --- a/internal-api/wp-cli-utils-http-request.md +++ b/internal-api/wp-cli-utils-http-request.md @@ -11,6 +11,7 @@ Make a HTTP request to a remote URL.