search-replace-command
search-replace-command copied to clipboard
Searches/replaces strings in the database.
## Bug Report - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). - [x] Yes, more specifically, I reviewed the guidelines on [how to write clear bug reports](https://make.wordpress.org/cli/handbook/bug-reports/). **Describe the current,...
Fixes #122 - serialization warnings in PHP 8.*
This PR introduces 2 new associated arguments to the `search-replace` command in an effort to resolve the bug reported on #132 With this approach, if users need to replace strings...
This PR adds the ability to run a user function on search results if a match is found. In my case, I needed this to change image src urls based...
- Reroll of #104 ( Feature: Call user function with --callback flag #104 ) - Preliminary work for #127 (Callback access to current primary key & column) - Include #125...
- [X] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). - [X] Yes, more specifically, I reviewed the guidelines on [how to write clear bug reports](https://make.wordpress.org/cli/handbook/bug-reports/). **Describe the current, buggy behavior** wp...
From Post Status Slack: ``` javorszky [5 hours ago] Gravity forms confirmation: goes to https://livesite.com/confirmation-page I'm on dev. Dev is https://site.test `wp search-replace https://livesites.com https://site.text` It does not turn gravity...
Fixes PHP 8.1 deprecation warning for passing `null` to `explode`. See #168 for more details
## Bug Report - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). - [x] Yes, more specifically, I reviewed the guidelines on [how to write clear bug reports](https://make.wordpress.org/cli/handbook/bug-reports/). **Describe the current,...
## Bug Report - [X] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). - [X] Yes, more specifically, I reviewed the guidelines on [how to write clear bug reports](https://make.wordpress.org/cli/handbook/bug-reports/). **Describe the current,...