Make WordPress Core


Ignore:
Timestamp:
09/07/2010 11:35:28 PM (14 years ago)
Author:
scribu
Message:

Introduce 'edit_comment' meta cap. Fixes #14520

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/dashboard.php

    r15564 r15596  
    587587
    588588    $actions_string = '';
    589     if ( current_user_can('edit_post', $comment->comment_post_ID) ) {
     589    if ( current_user_can( 'edit_comment', $comment->comment_ID ) ) {
    590590        // preorder it: Approve | Reply | Edit | Spam | Trash
    591591        $actions = array(
Note: See TracChangeset for help on using the changeset viewer.