Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/07/2010 12:24:39 AM (14 years ago)
Author:
djpaul
Message:

Use esc_html() instead of deprecated wp_specialchars()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-settings.php

    r3369 r3370  
    4343
    4444        if ( $_POST['email'] != '' )
    45             $current_user->user_email = wp_specialchars( trim( $_POST['email'] ) );
     45            $current_user->user_email = esc_html( trim( $_POST['email'] ) );
    4646
    4747        if ( $_POST['pass1'] != '' && $_POST['pass2'] != '' ) {
Note: See TracChangeset for help on using the changeset viewer.