WordPress.org

Make WordPress Core

Ticket #21223: 21223.2.diff

File 21223.2.diff, 1.6 KB (added by obenland, 3 years ago)
  • wp-admin/network/site-users.php

     
    254254<?php do_action( 'network_site_users_after_list_table', '' );?> 
    255255 
    256256<?php if ( current_user_can( 'promote_users' ) && apply_filters( 'show_network_site_users_add_existing_form', true ) ) : ?> 
    257 <h4 id="add-user"><?php _e('Add User to This Site') ?></h4> 
    258         <?php if ( current_user_can( 'create_users' ) && apply_filters( 'show_network_site_users_add_new_form', true ) ) : ?> 
    259 <p><?php _e( 'You may add from existing network users, or set up a new user to add to this site.' ); ?></p> 
    260         <?php else : ?> 
    261 <p><?php _e( 'You may add from existing network users to this site.' ); ?></p> 
    262         <?php endif; ?> 
    263 <h5 id="add-existing-user"><?php _e('Add Existing User') ?></h5> 
     257<h3 id="add-existing-user"><?php _e( 'Add Existing User' ); ?></h3> 
    264258<form action="site-users.php?action=adduser" id="adduser" method="post"> 
    265259        <?php wp_nonce_field( 'edit-site' ); ?> 
    266260        <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> 
     
    289283<?php endif; ?> 
    290284 
    291285<?php if ( current_user_can( 'create_users' ) && apply_filters( 'show_network_site_users_add_new_form', true ) ) : ?> 
    292 <h5 id="add-new-user"><?php _e('Add New User') ?></h5> 
     286<h3 id="add-new-user"><?php _e( 'Add New User' ); ?></h3> 
    293287<form action="<?php echo network_admin_url('site-users.php?action=newuser'); ?>" id="newuser" method="post"> 
    294288        <?php wp_nonce_field( 'edit-site' ); ?> 
    295289        <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" />