if ( !
headers_sent() ) { nocache_headers();
header( 'Content-Type: text/html; charset=utf-8'
);
} if ( is_main_site( $id ) ) { wp_die( __( 'Sorry, you are not allowed to change the current site.'
) );
} $site_details =
get_site( $id );
$site_address =
untrailingslashit( $site_details->domain .
$site_details->path
);
require_once ABSPATH . 'wp-admin/admin-header.php';
?>
<div class="wrap">
<h1><?php
_e( 'Confirm your action'
); ?></h1>
<form action="sites.php?action=<?php
echo esc_attr( $site_action ); ?>" method="post">
<input type="hidden" name="action" value="<?php
echo esc_attr( $site_action ); ?>" />
<input type="hidden" name="id" value="<?php
echo esc_attr( $id ); ?>" />
<input type="hidden" name="_wp_http_referer" value="<?php
echo esc_attr( wp_get_referer() ); ?>" />
<?php
wp_nonce_field( $site_action . '_' .
$id, '_wpnonce', false
); ?>