summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wp-admin/wpmu-edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-admin/wpmu-edit.php b/wp-admin/wpmu-edit.php
index 04e5f9b..d3f30e4 100644
--- a/wp-admin/wpmu-edit.php
+++ b/wp-admin/wpmu-edit.php
@@ -21,7 +21,7 @@ switch( $_GET['action'] ) {
case "siteoptions":
check_admin_referer('siteoptions');
if( empty( $_POST ) )
- die( "You probably need to go back to the <a href='wpmu-options.php'>options page</a>" );
+ wp_die( __("You probably need to go back to the <a href='wpmu-options.php'>options page</a>") );
update_site_option( "WPLANG", $_POST['WPLANG'] );
if( is_email( $_POST['admin_email'] ) )
@@ -130,7 +130,7 @@ switch( $_GET['action'] ) {
case "updateblog":
check_admin_referer('editblog');
if( empty( $_POST ) )
- die( "You probably need to go back to the <a href='wpmu-blogs.php'>blogs page</a>" );
+ wp_die( __("You probably need to go back to the <a href='wpmu-blogs.php'>blogs page</a>") );
// themes
if( is_array( $_POST['theme'] ) ) {