Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/27/2012 10:40:06 PM (10 years ago)
Author:
johnjamesjacoby
Message:

Add missing globals to bbp_edit_user_handler()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-user-functions.php

    r3689 r3695  
    834834    $user_id = bbp_get_displayed_user_id();
    835835
    836     global $wpdb;
     836    global $wpdb, $user_login, $super_admins;
    837837
    838838    // Execute confirmed email change. See send_confirmation_on_profile_email().
     
    842842
    843843        if ( $new_email['hash'] == $_GET['newuseremail'] ) {
     844            $user             = new stdClass();
    844845            $user->ID         = $user_id;
    845846            $user->user_email = esc_html( trim( $new_email['newemail'] ) );
Note: See TracChangeset for help on using the changeset viewer.