Skip to content

Install WordPress Importer only when needed #339

@gamebits

Description

@gamebits

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions