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
This commit is contained in:
Peter Westwood 2008-12-04 20:31:40 +00:00
parent 8aa27b5013
commit b08ca3f781
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;