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  
    1212require_once('admin-header.php'); 
    1313 
    1414if( 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.') ); 
    1616} 
    1717 
    1818global $wpdb; 
  • wpmu-edit.php

    old new  
    431431                } elseif ( empty($user['username']) ) { 
    432432                        wp_die( __('Missing username.') ); 
    433433                } elseif ( empty($user['email']) ) { 
    434                         wp_die( __('<p>Missing email.') ); 
     434                        wp_die( __('Missing email.') ); 
    435435                } 
    436436 
    437437                $password = generate_random_password(); 
  • wpmu-users.php

    old new  
    44$title = __('WordPress MU &rsaquo; Admin &rsaquo; Users'); 
    55$parent_file = 'wpmu-admin.php'; 
    66 
    7 wp_enqueue_script( 'listman' ); 
    87wp_enqueue_script( 'admin-forms' ); 
    98 
    109require_once('admin-header.php'); 
    1110 
    1211if( 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.') ); 
    1413} 
    1514 
    1615if ( $_GET['updated'] == 'true' ) {