WordPress.org

Make WordPress Core

Changeset 28446


Ignore:
Timestamp:
05/16/2014 02:46:25 PM (7 years ago)
Author:
wonderboymusic
Message:

Eliminate use of extract() in validate_user_signup().

$orig_username does not need to be pulled from validate_user_form() as it is not used in this function.

See #22400.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-signup.php

    r28445 r28446  
    475475function validate_user_signup() {
    476476    $result = validate_user_form();
    477     extract($result);
     477    $user_name = $result['user_name'];
     478    $user_email = $result['user_email'];
     479    $errors = $result['errors'];
    478480
    479481    if ( $errors->get_error_code() ) {
Note: See TracChangeset for help on using the changeset viewer.