Skip to:
Content

BuddyPress.org

Ticket #5575: 5575.diff

File 5575.diff, 493 bytes (added by imath, 10 years ago)
  • bp-members/bp-members-classes.php

    diff --git bp-members/bp-members-classes.php bp-members/bp-members-classes.php
    index b986211..de306c5 100644
    class BP_Signup { 
    624624                foreach ( $signups as $signup ) {
    625625                        $user_id = username_exists( $signup->user_login );
    626626
    627                         if ( ! empty( $user_id ) && $signup->activation_key == wp_hash( $user_id ) ) {
     627                        if ( ! empty( $user_id ) ) {
    628628
    629629                                if ( 2 != self::check_user_status( $user_id ) ) {
    630630