Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Pending status not being saved on registration

$
0
0

Replies: 0

I was having an issue with my installation of Ultimate Members. I’m posting this here because I found a fix that might help others, and if anybody else has worked with this issue (or plugin authors), I’d love to know if my fix is incomplete or might cause other problem.

I have my configuration set to require admin verification on all new member registrations of the type “Dealer”. The problem was that the status of “Pending” was not being saved to the database, so the “approved” notification email was being sent out to the admin, and the user was not getting any notification email at all.

After digging through the source code, I was able to update the plugin code in two places to make this work again. In the file includes/core/um-actions-register.php, I changed both occurrences of “um_user( ‘account_status’ )” to “um_user( ‘status’ )”. This seemed to do the trick.

If this is indeed a bug, how would I alert the plug-in authors? If it’s not a bug, maybe somebody can help me figure out why my setup was causing this error?


Viewing all articles
Browse latest Browse all 59525

Trending Articles