Make WordPress Core


Ignore:
Timestamp:
06/06/2008 07:21:35 PM (18 years ago)
Author:
ryan
Message:

Add delete_plugins and update_plugins caps. Props DD32. fixes #7096

File:
1 edited

Legend:

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

    r8055 r8060  
    127127
    128128    echo '<tr><td colspan="5" class="plugin-update">';
    129     if ( !current_user_can('edit_plugins') )
     129    if ( ! current_user_can('update_plugins') )
    130130        printf( __('There is a new version of %1$s available. <a href="%2$s">Download version %3$s here</a>.'), $plugin_data['Name'], $r->url, $r->new_version);
    131131    else if ( empty($r->package) )
Note: See TracChangeset for help on using the changeset viewer.