From d519efbb8cb4a197b3868403cc82dab26062b839 Mon Sep 17 00:00:00 2001 From: Kamran Abdul Aziz Date: Wed, 3 Jun 2026 00:01:20 +0530 Subject: [PATCH 1/2] Update generated support links --- .github/ISSUE_TEMPLATE | 2 +- README.md | 2 +- features/scaffold-package-readme.feature | 4 ++++ features/scaffold-package.feature | 4 ++++ templates/github-issue-template.mustache | 2 +- templates/readme-support.mustache | 2 +- 6 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE b/.github/ISSUE_TEMPLATE index b57900e..c91e633 100644 --- a/.github/ISSUE_TEMPLATE +++ b/.github/ISSUE_TEMPLATE @@ -6,7 +6,7 @@ Found a bug or want to suggest an enhancement? Before completing your issue, ple Have an idea for something new? Jump into the ideas repo: https://github.com/wp-cli/ideas -Need help with something? GitHub issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support +Need help with something? GitHub issues aren't for general support questions. For help with common problems, see the WP-CLI common issues guide: https://make.wordpress.org/cli/handbook/guides/common-issues/ You can safely delete this comment. diff --git a/README.md b/README.md index 4dd7cf0..0f84636 100644 --- a/README.md +++ b/README.md @@ -396,7 +396,7 @@ This project is licensed under the MIT License. See the [LICENSE](LICENSE) file ## Support -GitHub issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support +GitHub issues aren't for general support questions. For help with common problems, see the WP-CLI common issues guide: https://make.wordpress.org/cli/handbook/guides/common-issues/ *This README.md is generated dynamically from the project's codebase using `wp scaffold package-readme` ([doc](https://github.com/wp-cli/scaffold-package-command#wp-scaffold-package-readme)). To suggest changes, please submit a pull request against the corresponding part of the codebase.* diff --git a/features/scaffold-package-readme.feature b/features/scaffold-package-readme.feature index eb3d965..b3da8d4 100644 --- a/features/scaffold-package-readme.feature +++ b/features/scaffold-package-readme.feature @@ -50,6 +50,10 @@ Feature: Scaffold a README.md file for an existing package """ *This README.md is generated dynamically from the project's codebase """ + And the {PACKAGE_PATH}/local/wp-cli/default-readme/README.md file should contain: + """ + For help with common problems, see the WP-CLI common issues guide: https://make.wordpress.org/cli/handbook/guides/common-issues/ + """ And the {PACKAGE_PATH}/local/wp-cli/default-readme/README.md file should contain: """ wp package install wp-cli/default-readme:dev-main diff --git a/features/scaffold-package.feature b/features/scaffold-package.feature index b107416..e403d28 100644 --- a/features/scaffold-package.feature +++ b/features/scaffold-package.feature @@ -65,6 +65,10 @@ Feature: Scaffold WP-CLI commands And the {PACKAGE_PATH}/local/wp-cli/foo/.travis.yml file should not exist And the {PACKAGE_PATH}/local/wp-cli/foo/.github/PULL_REQUEST_TEMPLATE file should exist And the {PACKAGE_PATH}/local/wp-cli/foo/.github/ISSUE_TEMPLATE file should exist + And the {PACKAGE_PATH}/local/wp-cli/foo/.github/ISSUE_TEMPLATE file should contain: + """ + For help with common problems, see the WP-CLI common issues guide: https://make.wordpress.org/cli/handbook/guides/common-issues/ + """ When I run `wp hello-world` Then STDOUT should be: diff --git a/templates/github-issue-template.mustache b/templates/github-issue-template.mustache index 6c06a14..daf1c06 100644 --- a/templates/github-issue-template.mustache +++ b/templates/github-issue-template.mustache @@ -4,7 +4,7 @@ Thanks for creating a new issue! Found a bug or want to suggest an enhancement? Before completing your issue, please review our best practices: https://make.wordpress.org/cli/handbook/bug-reports/ -Need help with something? GitHub issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support +Need help with something? GitHub issues aren't for general support questions. For help with common problems, see the WP-CLI common issues guide: https://make.wordpress.org/cli/handbook/guides/common-issues/ You can safely delete this comment. diff --git a/templates/readme-support.mustache b/templates/readme-support.mustache index 0a1479c..bd3bb7d 100644 --- a/templates/readme-support.mustache +++ b/templates/readme-support.mustache @@ -1 +1 @@ -GitHub issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support +GitHub issues aren't for general support questions. For help with common problems, see the WP-CLI common issues guide: https://make.wordpress.org/cli/handbook/guides/common-issues/ From 781a5f567826aa19a1da2ec48d77e3ede2d891b0 Mon Sep 17 00:00:00 2001 From: Kamran Abdul Aziz Date: Tue, 9 Jun 2026 15:37:02 +0530 Subject: [PATCH 2/2] Point generated support links to handbook support page --- .github/ISSUE_TEMPLATE | 2 +- README.md | 2 +- features/scaffold-package-readme.feature | 2 +- features/scaffold-package.feature | 2 +- templates/github-issue-template.mustache | 2 +- templates/readme-support.mustache | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/ISSUE_TEMPLATE b/.github/ISSUE_TEMPLATE index c91e633..af04b8b 100644 --- a/.github/ISSUE_TEMPLATE +++ b/.github/ISSUE_TEMPLATE @@ -6,7 +6,7 @@ Found a bug or want to suggest an enhancement? Before completing your issue, ple Have an idea for something new? Jump into the ideas repo: https://github.com/wp-cli/ideas -Need help with something? GitHub issues aren't for general support questions. For help with common problems, see the WP-CLI common issues guide: https://make.wordpress.org/cli/handbook/guides/common-issues/ +Need help with something? GitHub issues aren't for general support questions. For support resources and next steps, see the WP-CLI Support page: https://make.wordpress.org/cli/handbook/support/ You can safely delete this comment. diff --git a/README.md b/README.md index 0f84636..65e2056 100644 --- a/README.md +++ b/README.md @@ -396,7 +396,7 @@ This project is licensed under the MIT License. See the [LICENSE](LICENSE) file ## Support -GitHub issues aren't for general support questions. For help with common problems, see the WP-CLI common issues guide: https://make.wordpress.org/cli/handbook/guides/common-issues/ +GitHub issues aren't for general support questions. For support resources and next steps, see the WP-CLI Support page: https://make.wordpress.org/cli/handbook/support/ *This README.md is generated dynamically from the project's codebase using `wp scaffold package-readme` ([doc](https://github.com/wp-cli/scaffold-package-command#wp-scaffold-package-readme)). To suggest changes, please submit a pull request against the corresponding part of the codebase.* diff --git a/features/scaffold-package-readme.feature b/features/scaffold-package-readme.feature index b3da8d4..585f86b 100644 --- a/features/scaffold-package-readme.feature +++ b/features/scaffold-package-readme.feature @@ -52,7 +52,7 @@ Feature: Scaffold a README.md file for an existing package """ And the {PACKAGE_PATH}/local/wp-cli/default-readme/README.md file should contain: """ - For help with common problems, see the WP-CLI common issues guide: https://make.wordpress.org/cli/handbook/guides/common-issues/ + For support resources and next steps, see the WP-CLI Support page: https://make.wordpress.org/cli/handbook/support/ """ And the {PACKAGE_PATH}/local/wp-cli/default-readme/README.md file should contain: """ diff --git a/features/scaffold-package.feature b/features/scaffold-package.feature index e403d28..7d20125 100644 --- a/features/scaffold-package.feature +++ b/features/scaffold-package.feature @@ -67,7 +67,7 @@ Feature: Scaffold WP-CLI commands And the {PACKAGE_PATH}/local/wp-cli/foo/.github/ISSUE_TEMPLATE file should exist And the {PACKAGE_PATH}/local/wp-cli/foo/.github/ISSUE_TEMPLATE file should contain: """ - For help with common problems, see the WP-CLI common issues guide: https://make.wordpress.org/cli/handbook/guides/common-issues/ + For support resources and next steps, see the WP-CLI Support page: https://make.wordpress.org/cli/handbook/support/ """ When I run `wp hello-world` diff --git a/templates/github-issue-template.mustache b/templates/github-issue-template.mustache index daf1c06..e5eea75 100644 --- a/templates/github-issue-template.mustache +++ b/templates/github-issue-template.mustache @@ -4,7 +4,7 @@ Thanks for creating a new issue! Found a bug or want to suggest an enhancement? Before completing your issue, please review our best practices: https://make.wordpress.org/cli/handbook/bug-reports/ -Need help with something? GitHub issues aren't for general support questions. For help with common problems, see the WP-CLI common issues guide: https://make.wordpress.org/cli/handbook/guides/common-issues/ +Need help with something? GitHub issues aren't for general support questions. For support resources and next steps, see the WP-CLI Support page: https://make.wordpress.org/cli/handbook/support/ You can safely delete this comment. diff --git a/templates/readme-support.mustache b/templates/readme-support.mustache index bd3bb7d..a82d060 100644 --- a/templates/readme-support.mustache +++ b/templates/readme-support.mustache @@ -1 +1 @@ -GitHub issues aren't for general support questions. For help with common problems, see the WP-CLI common issues guide: https://make.wordpress.org/cli/handbook/guides/common-issues/ +GitHub issues aren't for general support questions. For support resources and next steps, see the WP-CLI Support page: https://make.wordpress.org/cli/handbook/support/