Show
Ignore:
Timestamp:
06/06/08 19:21:35 (6 months ago)
Author:
ryan
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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) )