[wp-trac] [WordPress Trac] #33504: Cannot create a user without emailing a reset link

WordPress Trac noreply at wordpress.org
Thu Sep 3 20:43:34 UTC 2015


#33504: Cannot create a user without emailing a reset link
--------------------------+--------------------
 Reporter:  Ipstenu       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.3.1
Component:  Users         |     Version:  4.3
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------

Comment (by tharsheblows):

 I am not sure what the right thing is to do, so this isn't a comment on
 whether it's a good idea to add in a checkbox on the user edit screen.

 However, I know there is a filter on the password change emails and the
 email change emails: https://core.trac.wordpress.org/browser/tags/4.3/src
 /wp-includes/user.php#L2170

 eg
 {{{$send_password_change_email = apply_filters(
 'send_password_change_email', true, $user, $userdata );}}}

 if you add a filter that returns false, the email shouldn't send. You
 could add in the filter during development and then remove it on the
 production site if you wanted.

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


More information about the wp-trac mailing list