[wp-trac] Re: [WordPress Trac] #6907: A bug in /wp-admin/menu.php

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 17 16:07:12 GMT 2008


#6907: A bug in /wp-admin/menu.php
--------------------------------+-------------------------------------------
 Reporter:  CrazySerb           |        Owner:  anonymous
     Type:  defect              |       Status:  new      
 Priority:  high                |    Milestone:  2.6.1    
Component:  General             |      Version:  2.5.1    
 Severity:  normal              |   Resolution:           
 Keywords:  menu.php has-patch  |  
--------------------------------+-------------------------------------------
Comment (by ryan):

 moderate_comments is rarely and inconsistently used.  edit-
 comments.php/comment.php do not use it when checking to see if the comment
 can be moderated.  They use edit_post. About the only place that uses
 moderate_comments is admin-ajax.php.  Further, is deleting a comment
 considered moderation?  Currently it is not considered moderation and is
 not protected by a moderate_comments check.  edit-comments.php must still
 be available in the menu for the comment to be deleted, however.  The
 whole thing needs to be cleaned up before messing the menu.php.  We may
 need to create a new set of meta caps: edit_comment, delete_comment, and
 moderate_comment.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6907#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list