Skip to content

Environments: Add support forums environment.#690

Open
Clorith wants to merge 2 commits into
WordPress:trunkfrom
Clorith:environments/create-support-forums
Open

Environments: Add support forums environment.#690
Clorith wants to merge 2 commits into
WordPress:trunkfrom
Clorith:environments/create-support-forums

Conversation

@Clorith

@Clorith Clorith commented Jun 9, 2026

Copy link
Copy Markdown
Member

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

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
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

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 props-bot label.

Core Committers: Use this line as a base for the props when committing in SVN:

Props clorith, obenland.

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'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
$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?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.
#

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
set -euo pipefail

Let's make failures debuggable in this script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants