Opened 5 years ago
Closed 5 years ago
#7792 closed defect (bug) (fixed)
Explicitly check for approved status in wp_getComments (xmlrpc)
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7 |
| Component: | XML-RPC | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | josephscott |
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)
Note: See
TracTickets for help on using
tickets.

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