git-svn-id: https://develop.svn.wordpress.org/trunk@2696 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2005-07-04 06:27:04 +00:00
parent 01fef613ff
commit 11c44b277c
1 changed files with 1 additions and 1 deletions

View File

@ -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