[wp-trac] [WordPress Trac] #17981: XML-RPC wp.getComments should work for non-admins
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 3 15:43:30 UTC 2011
#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 |
------------------------------+------------------------------
Comment (by koke):
I should have done a trac search before writing a second patch but I feel
it's better ;)
Dashboard also shows unapproved comments to authors, so we check for
(`edit_posts` OR `moderate_comments`) instead of just `moderate_comments`.
The current checks for `edit_comment` should take care of the rest.
Also, added better error descriptions.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17981#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list