-
Notifications
You must be signed in to change notification settings - Fork 45
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
Introduce a dedicated search-replace url
command
#186
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The primary usage of
wp search-replace
is to update URLs in the database. However, URLs can be stored in various forms in the database (e.g. serialized into JSON), which means they're missed bywp search-replace
.We don't really want to change the behavior of
wp search-replace
, lest the sky fall down on our head. However, we could introduce awp search-replace url
command that handled the edge cases of URL formatting (serialized, http vs. https, etc.).If we want to introduce this command, we'd first want to document these permutations of how URLs are stored. Afterwards, we could develop the command in a test-driven manner.
The text was updated successfully, but these errors were encountered: