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:
parent
7f357e7188
commit
1d72687cc5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue