Changeset 34107
- Timestamp:
- 09/14/2015 02:44:41 AM (9 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-filters.php
r34106 r34107 338 338 add_action( 'comment_post', 'wp_new_comment_notify_moderator', 10, 2 ); 339 339 add_action( 'comment_post', 'wp_new_comment_notify_postauthor' ); 340 add_action( 'after_password_reset', 'wp_password_change_notification' ); 340 341 341 342 /** -
trunk/src/wp-includes/pluggable.php
r34052 r34107 1668 1668 * @since 2.7.0 1669 1669 * 1670 * @param object $user User Object1671 */ 1672 function wp_password_change_notification( &$user) {1670 * @param WP_User $user User object. 1671 */ 1672 function wp_password_change_notification( $user ) { 1673 1673 // send a copy of password change notification to the admin 1674 1674 // but check to see if it's the admin whose password we're changing, and skip this -
trunk/src/wp-includes/user-functions.php
r33954 r34107 1917 1917 update_user_option( $user->ID, 'default_password_nag', false, true ); 1918 1918 1919 wp_password_change_notification( $user ); 1919 /** 1920 * Fires after the user's password is reset. 1921 * 1922 * @since 4.4.0 1923 * 1924 * @param object $user The user. 1925 * @param string $new_pass New user password. 1926 */ 1927 do_action( 'after_password_reset', $user, $new_pass ); 1920 1928 } 1921 1929
Note: See TracChangeset
for help on using the changeset viewer.