[wp-trac] [WordPress Trac] #17981: XML-RPC wp.getComments should work for non-admins

WordPress Trac noreply at wordpress.org
Sat Sep 26 02:48:49 UTC 2015


#17981: XML-RPC wp.getComments should work for non-admins
----------------------------------------+-----------------------------
 Reporter:  koke                        |       Owner:  wonderboymusic
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:  4.4
Component:  XML-RPC                     |     Version:  3.2
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+-----------------------------
Changes (by wonderboymusic):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34570"]:
 {{{
 #!CommitTicketReference repository="" revision="34570"
 XML-RPC: `wp.getComments` should be allowed to return approved comments to
 those without the `'moderate_comments'` cap.

 Adds (rewrites) unit tests from 4 years ago that we never committed
 because....

 Props wonderboymusic, koke, ericmann, nprasath002.
 Fixes #17981.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/17981#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list