wp-cli / search-replace-command

Searches/replaces strings in the database.
MIT License
57 stars 45 forks source link

skip-revisions, select columns, callbacks = The forever reroll #184

Closed drzraf closed 10 months ago

drzraf commented 1 year ago

Replacement callback & row-based filtering (include/exclude posts revisions)


I plea upstream to consider the PR without incurring X more extra rerolls to contributors (who already pumped dozens of hours of man work into the useless and error-prone task of rebasing) [The diff talks for itself]

This PR lack tests: Yes because tests are always hard and painful to write for external contributors but less time-consuming/easier to write correctly by long-time codebase maintainers.

Is this feature better inside (without automated tests) rather than unavaiable? I believe so.