[wp-hackers] 1.5.1.3 XMLRPC problems

Owen Winkler ringmaster at midnightcircus.com
Wed Jun 29 16:27:24 GMT 2005


Robert Deaton wrote:
> I confirmed the problem, and have a fix that Works For Me (tm). Testing, anyone?

Seems like instead of this patch, the function in wp-db.php could be fixed:

function escape($str) {
	if(is_array($str)) return array_map('addslashes', $str);
	return addslashes($str);				
}

Owen


More information about the wp-hackers mailing list