summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-admin/theme-editor.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-12-15 11:57:18 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-12-15 11:57:18 +0000
commitd7de7a6a6ae02a6f1e818ef8c5f62874e0755de0 (patch)
treef2713a1f26335a7a061d35a25f56d848ac5a1e6c /wp-inst/wp-admin/theme-editor.php
parente683170d3363121819b9136323b5fd0454f6de79 (diff)
downloadwordpress-mu-d7de7a6a6ae02a6f1e818ef8c5f62874e0755de0.tar.gz
wordpress-mu-d7de7a6a6ae02a6f1e818ef8c5f62874e0755de0.tar.xz
wordpress-mu-d7de7a6a6ae02a6f1e818ef8c5f62874e0755de0.zip
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@469 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-admin/theme-editor.php')
-rw-r--r--wp-inst/wp-admin/theme-editor.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-inst/wp-admin/theme-editor.php b/wp-inst/wp-admin/theme-editor.php
index e408b72..5e5e3ca 100644
--- a/wp-inst/wp-admin/theme-editor.php
+++ b/wp-inst/wp-admin/theme-editor.php
@@ -49,7 +49,7 @@ switch($action) {
case 'update':
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 have do not have sufficient permissions to edit templates for this blog.').'</p>');
$newcontent = stripslashes($_POST['newcontent']);
$theme = urlencode($theme);
@@ -70,7 +70,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 have do not have sufficient permissions to edit themes for this blog.').'</p>');
update_recently_edited($file);