Ticket #6941 (closed defect: fixed)

Opened 2 months ago

Last modified 2 months ago

Update wp.getCommentCount XML-RPC method to use wp_count_comments() function

Reported by: josephscott Assigned to: anonymous
Priority: normal Milestone: 2.6
Component: XML-RPC Version: 2.5.1
Severity: normal Keywords: has-patch
Cc: josephscott

Description

The get_comment_count() function that the wp.getCommentCount method should be replaced by the wp_count_comments(). The included patch makes this happen.

Attachments

xmlrpc.php.diff (497 bytes) - added by josephscott on 05/09/08 01:08:05.

Change History

05/09/08 01:02:26 changed by markjaquith

Patch is malformed.

05/09/08 01:08:05 changed by josephscott

  • attachment xmlrpc.php.diff added.

05/09/08 01:08:29 changed by josephscott

Updated patch so the it isn't truncated :-(

05/09/08 01:09:15 changed by josephscott

Can't type either:

"Updated patch so that it isn't truncated"

05/09/08 16:02:45 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [7914]) Use wp_count_comments() in wp.getCommentCount. Props josephscott. fixes #6941