WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/13/2010 10:35:10 AM (12 years ago)
Author:
nacin
Message:

Don't use deprecated functions. see #11388

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/user-new.php

    r12907 r13106  
    2828
    2929Please click the following link to activate your user account:
    30 %%s" ), get_bloginfo('name'), site_url(), wp_specialchars( $_REQUEST[ 'role' ] ) );
     30%%s" ), get_bloginfo('name'), site_url(), esc_html( $_REQUEST[ 'role' ] ) );
    3131    }
    3232    add_filter( 'wpmu_signup_user_notification_email', 'admin_created_user_email' );
     
    5656        if ( $user_details ) {
    5757            // Adding an existing user to this blog
    58             $new_user_email = wp_specialchars(trim($_REQUEST['email']));
     58            $new_user_email = esc_html(trim($_REQUEST['email']));
    5959            $redirect = 'user-new.php';
    6060            $username = $user_details->user_login;
Note: See TracChangeset for help on using the changeset viewer.