Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#7792 closed defect (bug) (fixed)

Explicitly check for approved status in wp_getComments (xmlrpc)

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

Description

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 18 years ago.

Download all attachments as: .zip

Change History (2)

#1 @westi
18 years ago

  • Resolutionfixed
  • Status newclosed

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

Note: See TracTickets for help on using tickets.