Title: Deleted text widgets
Last modified: August 21, 2016

---

# Deleted text widgets

 *  Resolved [thepresident](https://wordpress.org/support/users/thepresident/)
 * (@thepresident)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/deleted-text-widgets/)
 * Worked well, except deleted text widgets completely. It’s good I had a copy on
   dev server so simply copied/pasted the code and I’m lucky it was only 3 widgets,
   not 200! Be warned 🙂
 * [http://wordpress.org/plugins/search-and-replace/](http://wordpress.org/plugins/search-and-replace/)

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

 *  [Cassie](https://wordpress.org/support/users/cassiedong/)
 * (@cassiedong)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/deleted-text-widgets/#post-4265077)
 * Had the same issue, wondering if anyone could look into this?
 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/deleted-text-widgets/#post-4265078)
 * Right, the widget settings use serialized data. The plugin can only work with
   default sql statements. The search all function is helpful, but not always useful.
 *  [dznr418](https://wordpress.org/support/users/dznr418/)
 * (@dznr418)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/deleted-text-widgets/#post-4265082)
 * I have come across this issue. I tried to replace a URL within multiple widgets.
   Why can I not replace again using the old URL to go back to the same number of
   characters in the string? Does this not revert the serialized data issue? Is 
   there a place to fix this manually in the database or is it always recommended
   to redo the text widgets? (I had 100+ of them). Thanks!
 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/deleted-text-widgets/#post-4265083)
 * You can not use this plugin to replace data in serialized data. Always the tool
   [Search Replace DB](https://github.com/interconnectit/Search-Replace-DB) have
   the possibility.
 *  [kilrizzy](https://wordpress.org/support/users/kilrizzy/)
 * (@kilrizzy)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/deleted-text-widgets/#post-4265086)
 * My guess is when your text widget data is serialized in wp_options, it looks 
   like this:
 * `a:3:{i:2;a:3:{s:5:"title";s:0:"";s:4:"text";s:279:"<br><a href="http://myurl.
   com/page/"><img src="http://myurl.com/wp-content/uploads...}`
 * So when it replaces out your new url:
 * `a:3:{i:2;a:3:{s:5:"title";s:0:"";s:4:"text";s:279:"<br><a href="http://mynewurl.
   com/page/"><img src="http://mynewurl.com/wp-content/uploads...}`
 * The character count changes (the 279 number), messing up the entire serialized
   data, in which wordpress them I’m guessing clears out if the values don’t match
   up with the char count?
 * It looks like if you choose the second option where you check all the boxes and
   do the replace in the plugin it works fine, since it doesn’t do anything to the
   wp_options table. You’ll have to just go into the sidebar widgets and any other
   options settings to do the replace manually
 *  [Beau Rixon](https://wordpress.org/support/users/beaurixon/)
 * (@beaurixon)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/deleted-text-widgets/#post-4265089)
 * [@kilrizzy](https://wordpress.org/support/users/kilrizzy/) – Doesn’t this seems
   a little counter intuitive.
 * Up until a week ago I had no problem doing a global find and replace of a url.
   Now I’m having this issue plus this other one ([http://wordpress.org/support/topic/search-not-working-34?replies=3](http://wordpress.org/support/topic/search-not-working-34?replies=3)).
 * Something must be wrong with the plugin since the recent WP updates. Can anyone
   shed some light on the changes? This is a rather critical plugin for us.
 * Thanks

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

The topic ‘Deleted 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/)

 * 6 replies
 * 6 participants
 * Last reply from: [Beau Rixon](https://wordpress.org/support/users/beaurixon/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/deleted-text-widgets/#post-4265089)
 * Status: resolved