Reduced backick removal collision risks
git-svn-id: https://plugins.svn.wordpress.org/postgresql-for-wordpress/trunk@226906 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
@@ -179,7 +179,7 @@
|
||||
$sql = preg_replace( $pattern, ' "$1" =', $sql);
|
||||
|
||||
// For correct bactick removal
|
||||
$pattern = '/[ ]*`([^`]+)`[ ]*=/';
|
||||
$pattern = '/[ ]*`([^` ]+)`[ ]*=/';
|
||||
$sql = preg_replace( $pattern, ' $1 =', $sql);
|
||||
|
||||
// WP 2.6.1 => 2.8 upgrade, removes a PostgreSQL error but there are some remaining
|
||||
|
Reference in New Issue
Block a user