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:
parent
8aa27b5013
commit
b08ca3f781
@ -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
Block a user