Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#6941 closed defect (bug) (fixed)

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

Reported by: josephscott Owned by:
Milestone: 2.6 Priority: normal
Severity: normal Version: 2.5.1
Component: XML-RPC Keywords: has-patch
Focuses: Cc:


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 (1)

xmlrpc.php.diff (497 bytes) - added by josephscott 10 years ago.

Download all attachments as: .zip

Change History (5)

#1 @markjaquith
10 years ago

Patch is malformed.

#2 @josephscott
10 years ago

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

#3 @josephscott
10 years ago

Can't type either:

"Updated patch so that it isn't truncated"

#4 @ryan
10 years ago

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.