[wp-trac] [WordPress Trac] #43734: user_profile_update_errors hook needs work-around to validate a to-be updated email address

WordPress Trac noreply at wordpress.org
Mon Feb 24 12:12:27 UTC 2020


#43734: user_profile_update_errors hook needs work-around to validate a to-be
updated email address
--------------------------+------------------------------
 Reporter:  BjornW        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Users         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  docs
--------------------------+------------------------------

Comment (by roytanck):

 I'm running into the exact issue @soulseekah describes in a client project
 (a custom-build domain blacklist plugin). Through a lot of trickery I've
 managed to sabotage the 'send_confirmation_on_profile_email' email so it
 does not get sent. However, I feel this issue warrants a new hook,
 probably in the `send_confirmation_on_profile_email()` function.

 How about a filter hook called `send_confirmation_on_profile_email` that
 receives a boolean value (send mail or not, initially set to true), and
 the current user object? I'll gladly write a patch to add this hook. It
 would make suppressing the email trivial.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43734#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list