diff options
-rw-r--r-- | wp-admin/wpmu-admin.php | 2 | ||||
-rw-r--r-- | wp-admin/wpmu-edit.php | 2 | ||||
-rw-r--r-- | wp-admin/wpmu-users.php | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/wp-admin/wpmu-admin.php b/wp-admin/wpmu-admin.php index ac70271..61da08d 100644 --- a/wp-admin/wpmu-admin.php +++ b/wp-admin/wpmu-admin.php @@ -12,7 +12,7 @@ add_action( 'admin_head', 'index_css' ); require_once('admin-header.php'); if( is_site_admin() == false ) { - wp_die( __('<p>You do not have permission to access this page.</p>') ); + wp_die( __('You do not have permission to access this page.') ); } global $wpdb; diff --git a/wp-admin/wpmu-edit.php b/wp-admin/wpmu-edit.php index 505e64e..c2b985f 100644 --- a/wp-admin/wpmu-edit.php +++ b/wp-admin/wpmu-edit.php @@ -431,7 +431,7 @@ switch( $_GET['action'] ) { } elseif ( empty($user['username']) ) { wp_die( __('Missing username.') ); } elseif ( empty($user['email']) ) { - wp_die( __('<p>Missing email.') ); + wp_die( __('Missing email.') ); } $password = generate_random_password(); diff --git a/wp-admin/wpmu-users.php b/wp-admin/wpmu-users.php index 806db35..1305e09 100644 --- a/wp-admin/wpmu-users.php +++ b/wp-admin/wpmu-users.php @@ -4,13 +4,12 @@ require_once('admin.php'); $title = __('WordPress MU › Admin › Users'); $parent_file = 'wpmu-admin.php'; -wp_enqueue_script( 'listman' ); wp_enqueue_script( 'admin-forms' ); require_once('admin-header.php'); if( is_site_admin() == false ) { - wp_die( __('<p>You do not have permission to access this page.</p>') ); + wp_die( __('You do not have permission to access this page.') ); } if ( $_GET['updated'] == 'true' ) { |