From 1d72687cc5ba2789efe92ff5289a923dc975737d Mon Sep 17 00:00:00 2001 From: westi 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: http://svn.automattic.com/wordpress/trunk@10044 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- xmlrpc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/xmlrpc.php b/xmlrpc.php index 9435c61ff..a110af3e2 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;