From cde3ed0e2355ba6e6dc9a9085f547a864cda97a3 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 7 Dec 2010 20:41:43 +0000 Subject: [PATCH] Fix a sprintf call. props wojtek.szkutnik, sorich87. fixes #14555. git-svn-id: https://develop.svn.wordpress.org/trunk@16774 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/network/edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/network/edit.php b/wp-admin/network/edit.php index 5afa1b7046..939139305d 100644 --- a/wp-admin/network/edit.php +++ b/wp-admin/network/edit.php @@ -100,7 +100,7 @@ switch ( $_GET['action'] ) { wp_die( __( 'You do not have permission to access this page.' ) ); if ( empty( $_POST ) ) - wp_die( sprintf( __( 'You probably need to go back to the options page.', esc_url( admin_url( 'settings.php' ) ) ) ) ); + wp_die( sprintf( __( 'You probably need to go back to the options page.' ), esc_url( admin_url( 'settings.php' ) ) ) ); if ( isset($_POST['WPLANG']) && ( '' === $_POST['WPLANG'] || in_array( $_POST['WPLANG'], get_available_languages() ) ) ) update_site_option( 'WPLANG', $_POST['WPLANG'] ); @@ -178,7 +178,7 @@ switch ( $_GET['action'] ) { } else { wp_redirect( add_query_arg( array( 'updated' => 'true', 'action' => 'not_deleted' ), wp_get_referer() ) ); } - + exit(); break;