Skip to content

Set fallback method for search-replace terms #2

Description

@slam-campup

The current search-replace function relies on wp-cli to fetch the existing remote domain name. This fails when the remote is not available, the remote is new, or in a few other conditions.

Set a method to detect whether the returned search values is a URL (and only a URL) and if fails then prompt the user for a search term manually.

Affects the values for _search_url and _replace_url

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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