[wp-trac] [WordPress Trac] #38891: Profile of wp_password_change_notification does not fit with the do_action( 'after_password_reset', $user, $new_pass );

WordPress Trac noreply at wordpress.org
Mon Nov 21 17:43:30 UTC 2016


#38891: Profile of wp_password_change_notification does not fit with the do_action(
'after_password_reset', $user, $new_pass );
--------------------------+-----------------------------
 Reporter:  jyd44         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 In wp-includes/pluggable.php, the function wp_password_change_notification
 is declared as: function wp_password_change_notification( $user )

 in wp-includes/default_filters.php, line 369, the action is added as:
 add_action( 'after_password_reset', 'wp_password_change_notification' );

 in wp-includes/user.php, line 2228, the action 'after_password_reset' is
 called as:
 do_action( 'after_password_reset', $user, $new_pass );


 Is it possible to clarify.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38891>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list