Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add wp-subdomain conditional tag
Adds a `wp-subdomain` prompt to the `github:add-checklist` command that can then be used to parse launch checklists found in the `special-projects-checklists` repo.

Specifically, we want to avoid adding of testing for a `www` sub-subdomain in the `launch-site.md` [checklist](https://github.com/a8cteam51/special-projects-checklists/blob/trunk/checklists/launch/launch-site.md), since doing so is an unsupported anti-pattern:

pMz3w-lWV-p2
  • Loading branch information
gamebits authored Aug 12, 2025
commit 0d21700be13bd867e67dd87ad14cebbeef24bd98
4 changes: 4 additions & 0 deletions commands/GitHub_Checklist_Add.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ final class GitHub_Checklist_Add extends Command {
'question' => 'Has the site previously been hosted on WordPress.com or WordPress VIP?',
'description' => 'The site has previously been hosted on WordPress.com or WordPress VIP.',
),
'wp-subdomain' => array(
'question' => 'Will the final URL be a subdomain of WordPress.com or WordPress.org?',
'description' => 'The site uses a subdomain of WordPress.com or WordPress.org.',
),
);

/**
Expand Down