Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Handle multi-column keys in search and replace #2531
The where clause was constructed without regard to handling multiple
The example table that the previous technique doesn't work with is
Adding single quotes around integer values has no negative effect.
CREATE TABLE "wp_wp_super_edit_options" (
when i tried to search and replace my production URL with development URL using the wp_*_options syntax it snagged a table created by a plugin and gave the following error.
As you can see, the WHERE clause was "id=1name=tinymce" instead of "id='1' AND name='tinymce'"