summaryrefslogtreecommitdiffstats
path: root/xmlrpc.php
diff options
context:
space:
mode:
Diffstat (limited to 'xmlrpc.php')
-rw-r--r--xmlrpc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlrpc.php b/xmlrpc.php
index 94226dd..6153e50 100644
--- a/xmlrpc.php
+++ b/xmlrpc.php
@@ -1219,10 +1219,10 @@ class wp_xmlrpc_server extends IXR_Server {
$comment_post_ID = (int) $post_ID;
$comment_author = $title;
- $wpdb->escape($comment_author);
+ $this->escape($comment_author);
$comment_author_url = $pagelinkedfrom;
$comment_content = $context;
- $wpdb->escape($comment_content);
+ $this->escape($comment_content);
$comment_type = 'pingback';
$commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_url', 'comment_content', 'comment_type');