mirror of
git://develop.git.wordpress.org/
synced 2025-01-19 13:47:02 +01:00
Typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@2696 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
01fef613ff
commit
11c44b277c
@ -76,7 +76,7 @@ class wpdb {
|
||||
// ====================================================================
|
||||
// Format a string correctly for safe insert under all PHP conditions
|
||||
|
||||
function escape($str) {
|
||||
function escape($string) {
|
||||
if( !$this->dbh || version_compare( phpversion(), '4.3.0' ) == '-1' )
|
||||
return mysql_escape_string( $string );
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user