Skip to content

Add wp-cli/entity-command to composer requires - #9

Open
paintface wants to merge 1 commit into
jonbp:masterfrom
paintface:fix/entity-command-dep
Open

paintface wants to merge 1 commit into
jonbp:masterfrom
paintface:fix/entity-command-dep

Conversation

@paintface

@paintface paintface commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

The URL replace task runs wp option update, but option comes from wp-cli/entity-command, which isn't in the composer requires so on a composer-managed install both option updates error with 'option' is not a registered wp command mid-sync. The search-replace part is fine since search-replace-command is already required. Doesn't show up when WP-CLI is installed globally, as the bundle includes everything.

The URL replace task runs wp option update, which comes from
wp-cli/entity-command. On a composer install of the plugin the option
command isn't registered, so both option updates error mid-sync (the
search-replace calls are fine, as search-replace-command is already
required). A global WP-CLI bundle install never hits this, which is
probably why it went unnoticed.
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