WordPress.org

Make WordPress Core

Ticket #34081: 34081.patch

File 34081.patch, 1.3 KB (added by afercia, 6 years ago)
  • src/wp-admin/network/site-users.php

     
    272272
    273273/** This filter is documented in wp-admin/network/site-users.php */
    274274if ( current_user_can( 'promote_users' ) && apply_filters( 'show_network_site_users_add_existing_form', true ) ) : ?>
    275 <h3 id="add-existing-user"><?php _e( 'Add Existing User' ); ?></h3>
     275<h2 id="add-existing-user"><?php _e( 'Add Existing User' ); ?></h2>
    276276<form action="site-users.php?action=adduser" id="adduser" method="post">
    277277        <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" />
    278278        <table class="form-table">
     
    301301 * @param bool $bool Whether to show the Add New User form. Default true.
    302302 */
    303303if ( current_user_can( 'create_users' ) && apply_filters( 'show_network_site_users_add_new_form', true ) ) : ?>
    304 <h3 id="add-new-user"><?php _e( 'Add New User' ); ?></h3>
     304<h2 id="add-new-user"><?php _e( 'Add New User' ); ?></h2>
    305305<form action="<?php echo network_admin_url('site-users.php?action=newuser'); ?>" id="newuser" method="post">
    306306        <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" />
    307307        <table class="form-table">