Make WordPress Core

Ticket #15389: 15389.diff

File 15389.diff, 774 bytes (added by jeremyfelt, 9 years ago)
  • src/wp-admin/network/user-new.php

     
    106106                        <td colspan="2"><?php _e( 'A password reset link will be sent to the user via email.' ) ?></td>
    107107                </tr>
    108108        </table>
    109         <?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ); ?>
    110         <?php submit_button( __('Add User'), 'primary', 'add-user' ); ?>
     109        <?php
     110        /**
     111         * Fires at the end of the new user form in network admin.
     112         *
     113         * @since 4.5.0
     114         */
     115        do_action( 'network_user_new_form' );
     116
     117        wp_nonce_field( 'add-user', '_wpnonce_add-user' );
     118        submit_button( __('Add User'), 'primary', 'add-user' );
     119        ?>
    111120        </form>
    112121</div>
    113122<?php