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

Set fallback method for search-replace terms #2

Open
slam-campup opened this issue Feb 2, 2024 · 0 comments
Open

Set fallback method for search-replace terms #2

slam-campup opened this issue Feb 2, 2024 · 0 comments
Assignees

Comments

@slam-campup
Copy link
Contributor

slam-campup commented Feb 2, 2024

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

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

2 participants