Title: Deleted My Text Widgets
Last modified: August 21, 2016

---

# Deleted My Text Widgets

 *  Resolved [Andrew Wilder](https://wordpress.org/support/users/eatingrules/)
 * (@eatingrules)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/deleted-my-text-widgets/)
 * I ran a very straightforward search and replace – just a couple of plain-text
   words. No punctuation or anything fancy.
 * As soon as it ran the function, the two text widgets I had in my sidebar completely
   vanished. It’s a good thing I made a backup…
 * [https://wordpress.org/plugins/search-and-replace/](https://wordpress.org/plugins/search-and-replace/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [mxmanuel](https://wordpress.org/support/users/mxmanuel/)
 * (@mxmanuel)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/deleted-my-text-widgets/#post-4949009)
 * I had the same issue and was testing some other solutions. If it is just about
   changing something within posts or pages I can recommend [find-replace](http://wordpress.org/plugins/find-replace/)
 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/deleted-my-text-widgets/#post-4949065)
 * right, the settings of widgets is serialized in the database. One point, that
   it no option inside the search/replace dialog on the bottom. If you use the search/
   replace about all tables, then is it more important, that you search before, 
   analyze and think about the result.
 *  [Pete](https://wordpress.org/support/users/angio/)
 * (@angio)
 * [12 years ago](https://wordpress.org/support/topic/deleted-my-text-widgets/#post-4949156)
 * I saw a similar post where text widgets were being deleted after running a search
   and replace across the entire database. I don’t really understand why the options
   are being deleted. If a string is found in a serialized array in the options 
   table from a text widget. Why is the widget being deleted? Can’t the array be
   unserialized, have the string replaced, re-serialized and updated in the options
   field?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Deleted My Text Widgets’ is closed to new replies.

 * ![](https://ps.w.org/search-and-replace/assets/icon-256x256.png?rev=1776844)
 * [Search & Replace](https://wordpress.org/plugins/search-and-replace/)
 * [Support Threads](https://wordpress.org/support/plugin/search-and-replace/)
 * [Active Topics](https://wordpress.org/support/plugin/search-and-replace/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/search-and-replace/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/search-and-replace/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [Pete](https://wordpress.org/support/users/angio/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/deleted-my-text-widgets/#post-4949156)
 * Status: resolved