wp_die( __( 'Multisite support is not enabled.' ) );
if ( ! current_user_can( 'manage_sites' ) )
- wp_die( __( 'You do not have permission to access this page.' ), 403 );
+ wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 );
$wp_list_table = _get_list_table( 'WP_MS_Sites_List_Table' );
$pagenum = $wp_list_table->get_pagenum();
}
if ( $current_site->blog_id == $id ) {
- wp_die( __( 'You are not allowed to change the current site.' ) );
+ wp_die( __( 'Sorry, you are not allowed to change the current site.' ) );
}
$site_details = get_blog_details( $id );
case 'deleteblog':
if ( ! current_user_can( 'delete_sites' ) )
- wp_die( __( 'You do not have permission to access this page.' ), '', array( 'response' => 403 ) );
+ wp_die( __( 'Sorry, you are not allowed to access this page.' ), '', array( 'response' => 403 ) );
$updated_action = 'not_deleted';
if ( $id != '0' && $id != $current_site->blog_id && current_user_can( 'delete_site', $id ) ) {
switch ( $doaction ) {
case 'delete':
if ( ! current_user_can( 'delete_site', $val ) )
- wp_die( __( 'You are not allowed to delete the site.' ) );
+ wp_die( __( 'Sorry, you are not allowed to delete the site.' ) );
$updated_action = 'all_delete';
wpmu_delete_blog( $val, true );
break;
}
} else {
- wp_die( __( 'You are not allowed to change the current site.' ) );
+ wp_die( __( 'Sorry, you are not allowed to change the current site.' ) );
}
}
} else {
$msg = __( 'Site deleted.' );
break;
case 'not_deleted':
- $msg = __( 'You do not have permission to delete that site.' );
+ $msg = __( 'Sorry, you are not allowed to delete that site.' );
break;
case 'archiveblog':
$msg = __( 'Site archived.' );
break;
default:
/**
- * Filter a specific, non-default site-updated message in the Network admin.
+ * Filters a specific, non-default site-updated message in the Network admin.
*
* The dynamic portion of the hook name, `$_GET['updated']`, refers to the
* non-default site update action.