Plugin Directory

Changeset 1353908


Ignore:
Timestamp:
02/19/2016 06:07:04 AM (10 years ago)
Author:
Cimmo
Message:

Fixed registration rules were applied on profile update when certain plug-ins are installed, like bbpress (thanks to Vane R.)/2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cimy-user-extra-fields/trunk/cimy_uef_register.php

    r1353893 r1353908  
    312312// added for profile rules check
    313313function cimy_profile_check_wrapper($errors, $update, $user) {
    314     $errors = cimy_registration_check($user->user_login, $user->user_email, $errors, true);
    315 
    316     if (!empty($errors))
    317         $update = false;
     314    $errors = cimy_registration_check($user->user_login, $user->user_email, $errors, $update);
    318315}
    319316
Note: See TracChangeset for help on using the changeset viewer.