[wp-trac] [WordPress Trac] #12104: edit-comments.php not available to roles with proper capabilities

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 31 22:42:10 UTC 2010


#12104: edit-comments.php not available to roles with proper capabilities
--------------------------+-------------------------------------------------
 Reporter:  sillybean     |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  Comments      |     Version:  3.0       
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
Changes (by nacin):

  * component:  General => Comments


Comment:

 Currently, you need to be able to edit the specific post for which you're
 moderating a comment. Thus, the whole moderation panel is restricted by
 edit_posts. (You can possibly hack this for edit-comments.php and
 comment.php using the filter in map_meta_cap.)

 This has come up before, both in general (the hijacking of caps), and
 moderation in particular. In general, there has been an expansion of
 capabilities already on 3.0. Specifically, this was discussed on
 #wordpress-dev after the dev chat on
 [https://irclogs.wordpress.org/chanlog.php?channel=wordpress-
 dev&day=2010-01-07#m52520 January 7]. There hasn't been a ticket yet, so I
 guess this is it.

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


More information about the wp-trac mailing list