Trim trailing whitespace

git-svn-id: https://develop.svn.wordpress.org/trunk@13733 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2010-03-17 16:27:25 +00:00
parent a28e43fa7f
commit e61755c853
43 changed files with 260 additions and 260 deletions

View File

@@ -42,7 +42,7 @@ if ( isset($_GET['action']) ) {
$upgrader->bulk_upgrade( $plugins );
iframe_footer();
} elseif ( 'upgrade-plugin' == $action ) {
if ( ! current_user_can('update_plugins') )
wp_die(__('You do not have sufficient permissions to update plugins for this blog.'));