[wp-trac] Re: [WordPress Trac] #6907: A bug in /wp-admin/menu.php
WordPress Trac
wp-trac at lists.automattic.com
Thu Nov 13 22:11:01 GMT 2008
#6907: A bug in /wp-admin/menu.php
--------------------------------+-------------------------------------------
Reporter: CrazySerb | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.8
Component: General | Version: 2.5.1
Severity: normal | Resolution:
Keywords: menu.php has-patch |
--------------------------------+-------------------------------------------
Comment (by chelmer):
Replying to [comment:7 chelmer]:
That is, from
{{{
if ( current_user_can('edit_post', $comment->comment_post_ID) )
}}}
to
{{{
if ( current_user_can('edit_post', $comment->comment_post_ID) ||
current_user_can('moderate_comments') )
}}}
or from
{{{
if ( !current_user_can( 'edit_post', $comment->comment_post_ID ) )
}}}
to
{{{
if ( !current_user_can( 'edit_post', $comment->comment_post_ID ) &&
!current_user_can( 'moderate_comments') )
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/6907#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list