[wp-trac] [WordPress Trac] #32851: Comment e-mail address of registered user not updated when user's e-mail address is changed

WordPress Trac noreply at wordpress.org
Thu Nov 21 18:24:34 UTC 2019


#32851: Comment e-mail address of registered user not updated when user's e-mail
address is changed
-----------------------------------+-----------------------------
 Reporter:  ravipatel              |       Owner:  (none)
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Future Release
Component:  Comments               |     Version:
 Severity:  major                  |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:  administration
-----------------------------------+-----------------------------
Changes (by andraganescu):

 * keywords:  dev-feedback has-patch => has-patch 2nd-opinion
 * milestone:  Awaiting Review => Future Release


Comment:

 I have checked and this patch still applies cleanly and indeed it fixes
 the problem.

 This particular problem though is not visible in any core feature. The fix
 can be handled by any plugin using the `profile_update` action, for
 example.

 The patch should only do the update if the email is different and perhaps
 it could add a filter to make this behaviour customisable.

 It does seem like a bug to leave old comments assigned to an user but to
 not update the user's email according to the data in the user's profile.
 So, while this is a valid ticket the patch needs a bit of more work.

 @egill do you think you could refresh it a bit with the above additions?

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


More information about the wp-trac mailing list