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
This commit is contained in:
westi 2008-12-04 20:31:40 +00:00
parent 7f357e7188
commit 1d72687cc5
1 changed files with 1 additions and 0 deletions

View File

@ -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;