wp-media/search-and-replace

Adding a prompt for “Are you sure?” before do danger things

Closed this issue · 1 comments

We want make sure no one can screw up their install. But that’s the entire point of the dry run. If anyone uses the plugin and doesn’t back up their db first, then that’s their own fault. Even adding a prompt for “Are you sure?” would be better than requiring a table prefix change, export and import procedure.

In commit 28479b6, exactly that kind of message is added when the user is trying to change site URL. I don't personally think a message should be added for all search/replace operations, except the ones that could hurt the site, such as the one I mentioned.