This is the reorganized MRN development workspace.
plugins/- Normal WordPress plugin source.
- Each plugin should live in its own folder and, where possible, its own git repo.
mu-plugins/- Shared MU plugin source used by stack and non-stack sites.
- This is the source of truth for MRN MU plugins.
shared/- Shared source files intentionally copied into more than one plugin.
- Current example: sticky settings toolbar shared helper.
stack/- Stack-specific orchestration only.
- Manifests, starter themes, exports/configs, scripts, and stack-facing MU wrappers live here.
clone/- Site cloning and import/export tooling.
server/- Server-side helpers, deployment support, and ops scripts.
releases/- Built artifacts only.
- Do not treat this folder as source.
- Do not edit installed plugin copies in
wp-content/pluginsorwp-content/mu-pluginsunless it is an emergency. - Build and edit from this workspace, then symlink local sites back to these source folders.
mu-plugins/is canonical for MU plugin source.stack/mu-plugins/is a stack-facing wrapper layer and may contain loader files, root stubs, or symlinks back tomu-plugins/.- Zips in
releases/should be rebuilt from source, not used as the source of truth.
- Repo QA scripts live in:
/Users/khofmeyer/Development/MRN/stack/scripts
- QA reference doc:
/Users/khofmeyer/Development/MRN/stack/QA.md
- Browser smoke QA command:
/Users/khofmeyer/Development/MRN/stack/scripts/qa-playwright-local-stack-site.sh
- Security QA command:
/Users/khofmeyer/Development/MRN/stack/scripts/qa-security.sh
- Shortcut command:
/Users/khofmeyer/Development/MRN/scripts/mrn
- Docs:
/Users/khofmeyer/Development/MRN/local/LOCAL_ENV_WORKFLOW.md
- Includes:
mrn pull-sitemrn deploy-sitemrn nightly-pullmrn install-completion zsh
stack/mu-plugins/mrn-loader.phpcurrently uses an explicit allowlist of MU plugin entry files.- Reusable block and page/post builder work remains split by responsibility:
- MU/plugin layer owns reusable block data, field groups, and render helpers.
- Theme layer owns page/post content builder rendering.