Skip to content

fix: include must-use plugins and drop-ins in SITE.md scaffold#1056

Merged
chubes4 merged 1 commit intomainfrom
fix/site-md-dropins-mu-plugins
Apr 15, 2026
Merged

fix: include must-use plugins and drop-ins in SITE.md scaffold#1056
chubes4 merged 1 commit intomainfrom
fix/site-md-dropins-mu-plugins

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented Apr 15, 2026

Summary

  • Adds ## Must-Use Plugins section to SITE.md using get_mu_plugins() — lists all mu-plugins with name + truncated description
  • Adds ## Drop-ins section using get_dropins() — lists active drop-ins with name, filename, and truncated description
  • Both sections only appear when there are items to show, keeping SITE.md clean on sites without mu-plugins or drop-ins

Problem

datamachine_get_site_scaffold_content() only queried get_option('active_plugins'), so drop-ins like db.php and all must-use plugins were invisible to the AI agent context.

Closes #1055

SITE.md only queried get_option('active_plugins'), missing mu-plugins
and drop-ins entirely. Add ## Must-Use Plugins section via get_mu_plugins()
and ## Drop-ins section via get_dropins(), both with the same name +
truncated-description format used by Active Plugins.

Closes #1055
@chubes4 chubes4 merged commit 22831f8 into main Apr 15, 2026
1 check passed
@chubes4 chubes4 deleted the fix/site-md-dropins-mu-plugins branch April 15, 2026 01:10
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.

SITE.md missing drop-ins and mu-plugins

1 participant