Changeset 7914 for trunk/xmlrpc.php
- Timestamp:
- 05/09/2008 04:02:44 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/xmlrpc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xmlrpc.php
r7912 r7914 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
Note: See TracChangeset
for help on using the changeset viewer.