Make WordPress Core

Ticket #57436: wp_set_password-2.patch

File wp_set_password-2.patch, 707 bytes (added by tanner m, 15 months ago)
  • wp-includes/pluggable.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php
    a b  
    27362736                );
    27372737
    27382738                clean_user_cache( $user_id );
     2739
     2740                /**
     2741                 * Fires after the password is set
     2742                 *
     2743                 * @param string $password The plain text password just set.
     2744                 * @param mixed  $user_id  The ID of the user whose password was just reset.
     2745                 *
     2746                 * @since 6.2.0
     2747                 */     
     2748                do_action( 'wp_set_password', $password, $user_id );
    27392749        }
    27402750endif;
    27412751