Skip to content

Commit 06af6f1

Browse files
committed
No need for special quote handling inside strings
1 parent d62b4b5 commit 06af6f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Search_Replace_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ private static function esc_sql_value( $values ) {
663663
}
664664

665665
// Put any string values between single quotes.
666-
return "'" . str_replace( "'", "''", esc_sql( $v ) ) . "'";
666+
return "'" . esc_sql( $v ) . "'";
667667
};
668668

669669
if ( is_array( $values ) ) {

0 commit comments

Comments
 (0)