Automattic / Automattic/jetpack
Search: support search and replace across all posts
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
Although it is tough to see us supporting full regexp matching, we could support something where we find a bunch of posts and then perform a search and replace for all of those posts.
Some example use cases:
- updating links
- updating images
- updating simple text
- updating authors and tags
Implementation ideas:
- we already extract links, images, and embeds
- we can add extracting blocks
- Then have a UI for building a scrolling query (with a preview)
- Then allow the user to do a search replace within all the posts that are matching that query
From p9zhOE-K4
Contributor guide
Research direction
No files or tests are named. Start by locating the existing extraction of links, images, and embeds, then determine how post blocks and the scrolling query preview should work. Done means users can find matching posts, preview the results, and apply search-and-replace across them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- content, search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100