mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 02:34:38 +00:00
We talk good. Fixes #2632
git-svn-id: https://develop.svn.wordpress.org/trunk@3949 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -36,7 +36,7 @@ case 'update':
|
||||
check_admin_referer('edit-theme_' . $file . $theme);
|
||||
|
||||
if ( !current_user_can('edit_themes') )
|
||||
die('<p>'.__('You have do not have sufficient permissions to edit templates for this blog.').'</p>');
|
||||
die('<p>'.__('You do not have sufficient permissions to edit templates for this blog.').'</p>');
|
||||
|
||||
$newcontent = stripslashes($_POST['newcontent']);
|
||||
$theme = urlencode($theme);
|
||||
@@ -57,7 +57,7 @@ default:
|
||||
|
||||
require_once('admin-header.php');
|
||||
if ( !current_user_can('edit_themes') )
|
||||
die('<p>'.__('You have do not have sufficient permissions to edit themes for this blog.').'</p>');
|
||||
die('<p>'.__('You do not have sufficient permissions to edit themes for this blog.').'</p>');
|
||||
|
||||
update_recently_edited($file);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user