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

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 8 13:35:12 UTC 2012


#17981: XML-RPC wp.getComments should work for non-admins
-------------------------------------+------------------------------
 Reporter:  koke                     |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  XML-RPC                  |     Version:  3.2
 Severity:  normal                   |  Resolution:
 Keywords:  mobile has-patch commit  |
-------------------------------------+------------------------------

Comment (by westi):

 Before we commit these changes I would like us to have some unit tests
 around the expected behaviour here.

 Highest priority are tests for all the cap checks to ensure we have
 expected behaviour - writing the tests out makes you think a lot about
 this :)

 Second priority are tests for the data returned especially datatypes so we
 can ensure continuing consistency over time.

 I asked koke to see if he could write some of these in IRC today.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17981#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list