Ticket #605: fix_html_mu.patch
| File fix_html_mu.patch, 1.4 kB (added by momo360modena, 5 months ago) |
|---|
-
wpmu-admin.php
old new 12 12 require_once('admin-header.php'); 13 13 14 14 if( is_site_admin() == false ) { 15 wp_die( __(' <p>You do not have permission to access this page.</p>') );15 wp_die( __('You do not have permission to access this page.') ); 16 16 } 17 17 18 18 global $wpdb; -
wpmu-edit.php
old new 431 431 } elseif ( empty($user['username']) ) { 432 432 wp_die( __('Missing username.') ); 433 433 } elseif ( empty($user['email']) ) { 434 wp_die( __(' <p>Missing email.') );434 wp_die( __('Missing email.') ); 435 435 } 436 436 437 437 $password = generate_random_password(); -
wpmu-users.php
old new 4 4 $title = __('WordPress MU › Admin › Users'); 5 5 $parent_file = 'wpmu-admin.php'; 6 6 7 wp_enqueue_script( 'listman' );8 7 wp_enqueue_script( 'admin-forms' ); 9 8 10 9 require_once('admin-header.php'); 11 10 12 11 if( is_site_admin() == false ) { 13 wp_die( __(' <p>You do not have permission to access this page.</p>') );12 wp_die( __('You do not have permission to access this page.') ); 14 13 } 15 14 16 15 if ( $_GET['updated'] == 'true' ) {
