Environments: Add support forums environment.#690
Conversation
This introduces the support forums as an environment in the WordPress.org suite of sites. Complete with full dependency setup, including: - Multisite setup - Plugin and theme directory subsites (scaffolds for plugin and theme support forums, not for their development) - Full set of every usertype available - Default forum creation, mimicking the current WordPress.org forums There is a caveat that Gutenberg is _currently_ pinned to version 17.9, due to the Blocks Everywhere plugin, and that Blocks Everywhere is not rendering properly pending an update in Automattic/blocks-everywhere#211
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
| echo "Setting up minimum required themes sub-site..." | ||
|
|
||
| # Set up the site identity. | ||
| $WP wp option update blogname 'WordPress.org Forums' |
There was a problem hiding this comment.
| $WP wp option update blogname 'WordPress.org Forums' | |
| $WP wp option update blogname 'WordPress.org Themes' --url=localhost:8888/themes |
Is this meant to be for themes?
There was a problem hiding this comment.
Ahhh no, this is the title of the main site (the support forums), it's just me having placed it in an odd location, the Themes and Plugin subsites that are dependencies are set up at L28 and L31 with simplified titles
| # | ||
| # Runs after wp-env start. Sets up permalinks, creates pages, and imports plugins. | ||
| # | ||
|
|
There was a problem hiding this comment.
| set -euo pipefail | |
Let's make failures debuggable in this script
This introduces the support forums as an environment in the WordPress.org suite of sites. Complete with full dependency setup, including:
There is a caveat that Gutenberg is currently pinned to version 17.9, due to the Blocks Everywhere plugin, and that Blocks Everywhere is not rendering properly pending an update in Automattic/blocks-everywhere#211