Skip to content

Split Admin god-class into focused collaborator classes. - #1992

Draft
shadyvb wants to merge 2 commits into
ticket/XWPENG-48-plugin-bootfrom
ticket/XWPENG-49-admin-split
Draft

Split Admin god-class into focused collaborator classes.#1992
shadyvb wants to merge 2 commits into
ticket/XWPENG-48-plugin-bootfrom
ticket/XWPENG-49-admin-split

Conversation

@shadyvb

@shadyvb shadyvb commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Fixes #000.

Describe your approach and how it fixes the issue.

Checklist

  • Project documentation has been updated to reflect the changes in this pull request, if applicable.
  • I have tested the changes in the local development environment (see contributing.md).
  • I have added phpunit tests.

Release Changelog

  • Fix: Describe a bug fix included in this release.
  • New: Describe a new feature in this release.

Release Checklist

  • This pull request is to the master branch.
  • Release version follows semantic versioning. Does it include breaking changes?
  • Update changelog in readme.txt.
  • Bump version in stream.php.
  • Bump Stable tag in readme.txt.
  • Bump version in classes/class-plugin.php.
  • Draft a release on GitHub.

Change [ ] to [x] to mark the items as done.

Extract menu, assets, screens, Ajax, and purge logic from Admin into
dedicated classes with hook registration colocated per collaborator,
while Admin retains cross-cutting init, caps, notices, and constants.
Bring the new Admin split test classes in line with the tests coding standard so lint stays green after the god-class extraction.
@shadyvb shadyvb changed the title ticket/XWPENG 49 admin split Split Admin god-class into focused collaborator classes. Sep 5, 2026
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.

1 participant