Skip to:
Content

bbPress.org

Changeset 6789


Ignore:
Timestamp:
03/27/2018 05:14:27 PM (7 years ago)
Author:
johnjamesjacoby
Message:

Converter: Call bbp_setup_converter() inside of bbp_user_maybe_convert_pass().

This change makes sure the admin-area converter files are included and instantiated from anywhere a user might be logging in from. This fixes a potential fatal error when trying to convert user passwords from old platforms to WordPress after a successful forum conversion has completed.

Fixes #3191.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/users/functions.php

    r6785 r6789  
    978978    }
    979979
     980    // Setup the converter
     981    bbp_setup_converter();
     982
    980983    // Try to convert the old password for this user
    981984    $converter = bbp_new_converter( $row->meta_value );
Note: See TracChangeset for help on using the changeset viewer.