Skip to content

Fix - no table ready while installing#21

Merged
lucatume merged 3 commits into
mainfrom
fix/no-table-ready-while-installing
Feb 4, 2026
Merged

Fix - no table ready while installing#21
lucatume merged 3 commits into
mainfrom
fix/no-table-ready-while-installing

Conversation

@lucatume
Copy link
Copy Markdown
Contributor

@lucatume lucatume commented Feb 3, 2026

During WordPress installation, database operations are deferred by the Schema library's Builder::up() method.
This fix ensures the shepherd_{prefix}_tables_registered action is not fired when wp_installing() returns true, preventing downstream code from attempting to use tables that don't exist yet.

This comes in the context of this CI failure.

During WordPress installation, database operations are deferred by
  the Schema library's Builder::up() method. This fix ensures the
  shepherd_{prefix}_tables_registered action is not fired when
  wp_installing() returns true, preventing downstream code from
  attempting to use tables that don't exist yet.
@lucatume lucatume self-assigned this Feb 3, 2026
Copy link
Copy Markdown
Member

@dpanta94 dpanta94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@lucatume lucatume marked this pull request as ready for review February 4, 2026 14:52
@lucatume lucatume merged commit f35d201 into main Feb 4, 2026
11 checks passed
@lucatume lucatume deleted the fix/no-table-ready-while-installing branch February 4, 2026 14:53
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.

2 participants