Ticket #6941: xmlrpc.php.diff
| File xmlrpc.php.diff, 497 bytes (added by josephscott, 4 months ago) |
|---|
-
xmlrpc.php
old new 698 698 699 699 do_action('xmlrpc_call', 'wp.getCommentCount'); 700 700 701 return get_comment_count( $post_id ); 701 $count = wp_count_comments( $post_id ); 702 return array( 703 "approved" => $count->approved, 704 "awaiting_moderation" => $count->moderated, 705 "spam" => $count->spam, 706 "total_comments" => $count->total_comments 707 ); 702 708 } 703 709 704 710
