Update wp_die() calls modified in [31658] to use shorthand calling style.
see #31422. Built from https://develop.svn.wordpress.org/trunk@32152 git-svn-id: http://core.svn.wordpress.org/trunk@32127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -36,7 +36,7 @@ get_current_screen()->set_help_sidebar(
|
||||
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
|
||||
if ( ! current_user_can( 'manage_network' ) )
|
||||
wp_die( __( 'You do not have permission to access this page.' ), '', array( 'response' => 403 ) );
|
||||
wp_die( __( 'You do not have permission to access this page.' ), 403 );
|
||||
|
||||
echo '<div class="wrap">';
|
||||
echo '<h2>' . __( 'Upgrade Network' ) . '</h2>';
|
||||
|
||||
Reference in New Issue
Block a user