WordPress.org

Make WordPress Core

Ticket #18709: new-user-profile.diff

File new-user-profile.diff, 443 bytes (added by strangerstudios, 4 years ago)

Diff to add a "new_user_profile" action to user-new.php

  • user-new.php

    diff --git a/user-new.php b/user-new.php
    index 6a8778f..bc48ba0 100644
    a b foreach ( array( 'user_login' => 'login', 'first_name' => 'firstname', 'last_nam 
    323323        </tr> 
    324324<?php endif; ?> 
    325325<?php } // !is_multisite ?> 
     326        <?php do_action( 'new_user_profile' ); ?> 
    326327        <tr class="form-field"> 
    327328                <th scope="row"><label for="role"><?php _e('Role'); ?></label></th> 
    328329                <td><select name="role" id="role">