Skip to content
This repository has been archived by the owner on Jul 7, 2020. It is now read-only.

Commit

Permalink
Don't escape objects.
Browse files Browse the repository at this point in the history
git-svn-id: http://core.svn.wordpress.org/trunk@2674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
ryan committed Jun 29, 2005
1 parent 0423bdd commit 9284d71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xmlrpc.php
Expand Up @@ -133,6 +133,8 @@ function escape(&$array) {
foreach ($array as $k => $v) {
if (is_array($v)) {
$this->escape($array[$k]);
} else if (is_object($v)) {
//skip
} else {
$array[$k] = $wpdb->escape($v);
}
Expand Down

0 comments on commit 9284d71

Please sign in to comment.