Make WordPress Core

Ticket #56140: 56140.diff

File 56140.diff, 613 bytes (added by vishitshah, 2 years ago)
  • wp-admin/user-new.php

    diff --git a/wp-admin/user-new.php b/wp-admin/user-new.php
    index 7b0287545f..be618c4e2b 100644
    a b if ( current_user_can( 'create_users' ) ) { 
    529529        </tr>
    530530        <tr class="form-field">
    531531                <th scope="row"><label for="url"><?php _e( 'Website' ); ?></label></th>
    532                 <td><input name="url" type="url" id="url" class="code" value="<?php echo esc_attr( $new_user_uri ); ?>" /></td>
     532                <td><input name="url" type="url" id="url" class="code" value="<?php echo esc_url( $new_user_uri ); ?>" /></td>
    533533        </tr>
    534534                <?php
    535535                $languages = get_available_languages();