sylrobitaille
Forum Replies Created
-
I’ve gone ahead and marked this resolved, perhaps prematurely, given that Ultimate Member 2.9.3 is not yet released, but I have faith that it will work, and if not the workarounds given at https://github.com/ultimatemember/ultimatemember/issues/1599 do work.
@missveronicatv, that’s excellent news. Meanwhile your suggested “local” approaches have been working just fine. I really appreciate that you took this on and brought it to their attention. Thanks to you, this plugin has just improved.
… and of course a huge thank you to @nsinelnikov, of the Ultimate Member development team for implementing the solution in the plugin.
@missveronicatv, thank you again. I’ll give that one a try in a day or two. In the meantime, your first proposed solution has been tested and is in place, but I do like the idea of not revealing whether the account name or email address supplied is known to the site.
I just noticed a copy-and-paste-o in my diff above … line 457 should be:
if ( isset( $data ) && is_a( $data, '\WP_User' ) && UM()->user()->is_approved( $user_id ) ) {Still, @missveronicatv’s approach has the benefit of not modifying the plugin itself …
@missveronicatv Awesome. Thank you. It looks like you presented a code snippet that can be used without modifying the actual plugin. Am I understanding that correctly? I think I’m going to go ahead and test your suggested code snippet on my own installation. It might be all that I really need. Thank you.