Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install WordPress Importer only when needed #339

Open
gamebits opened this issue Sep 11, 2023 · 0 comments
Open

Install WordPress Importer only when needed #339

gamebits opened this issue Sep 11, 2023 · 0 comments

Comments

@gamebits
Copy link

If the Custom Content Migrator is active and WordPress Importer is not installed and active, CCM will do so anytime any WP-CLI command is run. For example:

$ time wp search-replace //charlestoncitypaper-staging.newspackstaging.com //charlestoncitypaper.com --all-tables-with-prefix --report-changed-only --dry-run
Installing and activating the wordpress-importer plugin now...

/**
* Checks whether wordpress-importer is active and valid, and if not, installs and activates it.
*/

It would be preferable if WordPress Importer were installed only when it is needed for the WP-CLI command being run.

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

No branches or pull requests

1 participant