From adef1bc732f31a11b7ffacdf2ccfe4321ebfd220 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Tue, 4 Jul 2006 17:56:27 +0000 Subject: [PATCH] We talk good. Fixes #2632 git-svn-id: https://develop.svn.wordpress.org/trunk@3949 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/plugin-editor.php | 4 ++-- wp-admin/templates.php | 2 +- wp-admin/theme-editor.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-admin/plugin-editor.php b/wp-admin/plugin-editor.php index c510b750c2..f2643f46d9 100644 --- a/wp-admin/plugin-editor.php +++ b/wp-admin/plugin-editor.php @@ -23,7 +23,7 @@ case 'update': check_admin_referer('edit-plugin_' . $file); if ( !current_user_can('edit_plugins') ) - die('

'.__('You have do not have sufficient permissions to edit templates for this blog.').'

'); + die('

'.__('You do not have sufficient permissions to edit templates for this blog.').'

'); $newcontent = stripslashes($_POST['newcontent']); if (is_writeable($real_file)) { @@ -43,7 +43,7 @@ default: require_once('admin-header.php'); if ( !current_user_can('edit_plugins') ) - die('

'.__('You have do not have sufficient permissions to edit plugins for this blog.').'

'); + die('

'.__('You do not have sufficient permissions to edit plugins for this blog.').'

'); update_recently_edited("wp-content/plugins/$file"); diff --git a/wp-admin/templates.php b/wp-admin/templates.php index 364714c849..de3c7e30ea 100644 --- a/wp-admin/templates.php +++ b/wp-admin/templates.php @@ -50,7 +50,7 @@ default: require_once('./admin-header.php'); if ( ! current_user_can('edit_files') ) - die('

'.__('You have do not have sufficient permissions to edit templates for this blog.').'

'); + die('

'.__('You do not have sufficient permissions to edit templates for this blog.').'

'); if ( strstr( $file, 'wp-config.php' ) ) die('

'.__('The config file cannot be edited or viewed through the web interface. Sorry!').'

'); diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php index 4d09816831..6bbc9dbbe9 100644 --- a/wp-admin/theme-editor.php +++ b/wp-admin/theme-editor.php @@ -36,7 +36,7 @@ case 'update': check_admin_referer('edit-theme_' . $file . $theme); if ( !current_user_can('edit_themes') ) - die('

'.__('You have do not have sufficient permissions to edit templates for this blog.').'

'); + die('

'.__('You do not have sufficient permissions to edit templates for this blog.').'

'); $newcontent = stripslashes($_POST['newcontent']); $theme = urlencode($theme); @@ -57,7 +57,7 @@ default: require_once('admin-header.php'); if ( !current_user_can('edit_themes') ) - die('

'.__('You have do not have sufficient permissions to edit themes for this blog.').'

'); + die('

'.__('You do not have sufficient permissions to edit themes for this blog.').'

'); update_recently_edited($file);