WordPress.org

Make WordPress Core

Changeset 13106 for trunk/wp-signup.php


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-signup.php

    r12856 r13106  
    231231        $errors = new WP_Error();
    232232    if ( isset( $_POST[ 'signup_for' ] ) )
    233         $signup[ wp_specialchars( $_POST[ 'signup_for' ] ) ] = 'checked="checked"';
     233        $signup[ esc_html( $_POST[ 'signup_for' ] ) ] = 'checked="checked"';
    234234    else
    235235        $signup[ 'blog' ] = 'checked="checked"';
Note: See TracChangeset for help on using the changeset viewer.