From b08ca3f781a51d899414eae761c8a5f442f7a72b Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Thu, 4 Dec 2008 20:31:40 +0000 Subject: [PATCH] Add the comment type to the data wp.getComment returns. Fixes #8486 props josephscott. git-svn-id: https://develop.svn.wordpress.org/trunk@10044 602fd350-edb4-49c9-b593-d223f7449a82 --- xmlrpc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/xmlrpc.php b/xmlrpc.php index 9435c61ffa..a110af3e2b 100644 --- a/xmlrpc.php +++ b/xmlrpc.php @@ -1061,6 +1061,7 @@ class wp_xmlrpc_server extends IXR_Server { "author_url" => $comment->comment_author_url, "author_email" => $comment->comment_author_email, "author_ip" => $comment->comment_author_IP, + "type" => $comment->comment_type, ); return $comment_struct;