[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 23:25:55 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:            

Comment(by nacin):

 Replying to [comment:2 sillybean]:
 > Replying to [comment:1 nacin]:
 > > Currently, you need to be able to edit the specific post for which
 you're moderating a comment.
 > Well, that explains it. But... why?
 Because, when it was coded, that's the route they took. Unbundling that
 will take a lot of work modifying a lot of checks across numerous files.
 It is something that has been indicated as desirable, so once a patch is
 created it'll probably make it into core pretty quickly.

 On the other hand, the core upgrader currently requires the
 upgrade_plugins cap. Changing that to something like upgrade_core is four
 lines (change the cap, populate it, map it for Multisite is_super_admin,
 update the db version). Just hasn't been done it yet.

 It seems the core developers are ready to move forward with an expansion
 of capabilities. We just need to identify what needs to get changed and
 change it.

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

More information about the wp-trac mailing list