Skip to content

Apply WordPress core library overlays before provider activation #1560

Description

@chubes4

Runtime overlays for WordPress core libraries were mounted but not applied early enough for plugin activation.

Observed progression:

  • PHP AI Client overlay was declared in the generated recipe.
  • Plugin activation still loaded the older core copy and failed on missing ProviderMetadata::getDescription().
  • Moving overlay application later initially hit runtime mu-plugin mount ordering.

Acceptance criteria:

  • Core library overlays such as PHP AI Client are applied to the WordPress runtime before provider plugin activation.
  • Overlay application runs after the runtime mu-plugin directory is available.
  • Recipe diagnostics clearly show whether an overlay was applied.
  • Tests cover core overlay copy/application ordering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions