diff options
Diffstat (limited to 'xmlrpc.php')
-rw-r--r-- | xmlrpc.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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'); |