Make WordPress Core

Ticket #44298: patch.diff

File patch.diff, 507 bytes (added by itowhid06, 7 years ago)
  • src/wp-includes/user.php

    diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php
    index 566702f4fc..d309e2f0a7 100644
    a b function wp_validate_user_request_key( $request_id, $key ) { 
    35093509        }
    35103510
    35113511        if ( ! $expiration_time || time() > $expiration_time ) {
    3512                 $return = new WP_Error( 'expired_key', __( 'The confirmation email has expired.' ) );
     3512                return new WP_Error( 'expired_key', __( 'The confirmation email has expired.' ) );
    35133513        }
    35143514
    35153515        return true;