deliciousbrains / better-search-replace

A simple plugin for updating URLs or other text in a database.
https://bettersearchreplace.com
GNU General Public License v3.0
86 stars 36 forks source link

wp_magic_quotes interfering with some search/replace strings #23

Closed mattgrshaw closed 9 years ago

mattgrshaw commented 9 years ago

In 1.2.3, we removed stripslashes() due to them preventing users from being able to search for backslashes (a somewhat common scenario).

This uncovered a bug which occurs when WordPress uses wp_magic_quotes, characters such as "'" will add unnecessary slashes.

mattgrshaw commented 9 years ago

This is fixed.