Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#7792 closed defect (bug) (fixed)

Explicitly check for approved status in wp_getComments (xmlrpc)

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


The wp_getComments (XML-RPC) function assumes that any comment_approved values that are zero or 'spam' are approved comments. This could cause problems if a custom comment_approved value is being used (by a plugin for instance).

Attachments (1)

xmlrpc.php.diff (494 bytes) - added by josephscott 6 years ago.

Download all attachments as: .zip

Change History (2)

josephscott6 years ago

comment:1 westi6 years ago

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

(In [8979]) Ensure we support custom comment approval statuses over xmlrpc. Fixes #7792 props josephscott.

Note: See TracTickets for help on using tickets.