Skip to content

Replacement callback, row-based filtering, and revision exclusion#205

Open
drzraf wants to merge 28 commits intowp-cli:mainfrom
drzraf:callback-104
Open

Replacement callback, row-based filtering, and revision exclusion#205
drzraf wants to merge 28 commits intowp-cli:mainfrom
drzraf:callback-104

Conversation

@drzraf
Copy link

@drzraf drzraf commented Oct 17, 2025

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

  • Replacing revisions is confusing (total replacements count) and annoying
  • Specifying rows/columns/custom --where expression has been a long requested feature (for more than 8 years)
  • Extra flexibility regarding replacements (custom PHP callback) has also been requested multiple times

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

Labels

command:search-replace Related to 'search-replace' command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Filter by post types and post status in post table Pass current $col and $primary_keys down to the SearchReplacer

3 participants