mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 09:34:41 +00:00
6064924c18df198298372a0dea3245d375c2cd78
`wp_password_change_notification()` is now called at the 'after_password_reset' action, rather than being invoked directly from the `reset_password()` function. In order to make it possible to call `wp_password_change_notification()` as a `do_action()` callback, the function signature has to be changed so that the `$user` parameter is expected to be a value rather than a reference. Since PHP 5.0, objects are passed by reference, so `&$user` was unnecessary anyway. Props dshanske, thomaswm. See #33587. git-svn-id: https://develop.svn.wordpress.org/trunk@34107 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
80.5%
CSS
9.4%
JavaScript
8.5%
SCSS
0.9%
HTML
0.7%