Replacement callback, row-based filtering, and revision exclusion#205
Open
drzraf wants to merge 28 commits intowp-cli:mainfrom
Open
Replacement callback, row-based filtering, and revision exclusion#205drzraf wants to merge 28 commits intowp-cli:mainfrom
drzraf wants to merge 28 commits intowp-cli:mainfrom
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replacement callback & row-based filtering (include/exclude posts revisions)
--whereexpression has been a long requested feature (for more than 8 years)Added
--whereflag to precisely select rows aimed for replacementAdded
--revision/--no-revisionAdded
--callbackReroll of Feature: Call user function with --callback flag #104 (Dec 2018), Replacement callback & row-based filtering #128 (Sept 2019) (Feature: Call user function with --callback flag Feature: Call user function with --callback flag #104 and skip-revisions, select columns, callbacks = The forever reroll #184 (June 2023)
Fix Filter by post types and post status in post table #125 (Introduce
--whereflag) and Limit search-replace in DB --wp_db_id="wp_posts:1234" (New command parameter) #142 (--wp_db_id)Resolves Pass current
$coland$primary_keysdown to the SearchReplacer #127 (Callback access to current primary key & column)