summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-07-03 11:35:13 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-07-03 11:35:13 +0000
commit081d69df3ae05df72762fd412b662d889f5e43c7 (patch)
treecd43e13aa7c9c234b391070eb8614fc8afd911f1
parentf4e18433a6b6583b261d0d910f9fdbca2cd02261 (diff)
downloadwordpress-mu-081d69df3ae05df72762fd412b662d889f5e43c7.tar.gz
wordpress-mu-081d69df3ae05df72762fd412b662d889f5e43c7.tar.xz
wordpress-mu-081d69df3ae05df72762fd412b662d889f5e43c7.zip
Fix anon pingbacks
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@627 7be80a69-a1ef-0310-a953-fb0f7c49ff36
-rw-r--r--xmlrpc.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/xmlrpc.php b/xmlrpc.php
index 8127c2c..6a8c769 100644
--- a/xmlrpc.php
+++ b/xmlrpc.php
@@ -1229,9 +1229,11 @@ class wp_xmlrpc_server extends IXR_Server {
$original_title = $title;
$comment_post_ID = (int) $post_ID;
- $comment_author = $this->escape($title);
+ $comment_author = $title;
+ $this->escape($comment_author);
$comment_author_url = $pagelinkedfrom;
- $comment_content = $this->escape($context);
+ $comment_content = $context;
+ $this->escape($comment_content);
$comment_type = 'pingback';
$commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_url', 'comment_content', 'comment_type');