Skip to content

Commit 0af5005

Browse files
authored
Update generated support links (#292)
1 parent 75c2f5a commit 0af5005

6 files changed

Lines changed: 12 additions & 4 deletions

File tree

.github/ISSUE_TEMPLATE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Found a bug or want to suggest an enhancement? Before completing your issue, ple
66

77
Have an idea for something new? Jump into the ideas repo: https://github.com/wp-cli/ideas
88

9-
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
9+
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/
1010

1111
You can safely delete this comment.
1212

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ This project is licensed under the MIT License. See the [LICENSE](LICENSE) file
396396

397397
## Support
398398

399-
GitHub issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support
399+
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/
400400

401401

402402
*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.*

features/scaffold-package-readme.feature

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ Feature: Scaffold a README.md file for an existing package
5050
"""
5151
*This README.md is generated dynamically from the project's codebase
5252
"""
53+
And the {PACKAGE_PATH}/local/wp-cli/default-readme/README.md file should contain:
54+
"""
55+
For support resources and next steps, see the WP-CLI Support page: https://make.wordpress.org/cli/handbook/support/
56+
"""
5357
And the {PACKAGE_PATH}/local/wp-cli/default-readme/README.md file should contain:
5458
"""
5559
wp package install wp-cli/default-readme:dev-main

features/scaffold-package.feature

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ Feature: Scaffold WP-CLI commands
6565
And the {PACKAGE_PATH}/local/wp-cli/foo/.travis.yml file should not exist
6666
And the {PACKAGE_PATH}/local/wp-cli/foo/.github/PULL_REQUEST_TEMPLATE file should exist
6767
And the {PACKAGE_PATH}/local/wp-cli/foo/.github/ISSUE_TEMPLATE file should exist
68+
And the {PACKAGE_PATH}/local/wp-cli/foo/.github/ISSUE_TEMPLATE file should contain:
69+
"""
70+
For support resources and next steps, see the WP-CLI Support page: https://make.wordpress.org/cli/handbook/support/
71+
"""
6872

6973
When I run `wp hello-world`
7074
Then STDOUT should be:

templates/github-issue-template.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Thanks for creating a new issue!
44
55
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/
66
7-
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
7+
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/
88
99
You can safely delete this comment.
1010

templates/readme-support.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
GitHub issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support
1+
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/

0 commit comments

Comments
 (0)