Updated call to mysql_escape_string() which is deprecated

git-svn-id: https://plugins.svn.wordpress.org/postgresql-for-wordpress/trunk@546644 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
hawk__
2012-05-20 16:58:04 +00:00
parent 7af156a7c7
commit 749fe8fb59
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -32,7 +32,9 @@
function wpsql_fetch_assoc($result)
{ return mysql_fetch_assoc($result); }
function wpsql_escape_string($s)
{ return mysql_escape_string($s); }
{ return mysql_real_escape_string($s); }
function wpsql_real_escape_string($s,$c=NULL)
{ return mysql_real_escape_string($s,$c); }
function wpsql_get_server_info()
{ return mysql_get_server_info(); }
function wpsql_result($result, $i, $fieldname)