Make WordPress Core

Ticket #57436: wp_set_password_action.patch

File wp_set_password_action.patch, 706 bytes (added by tanner m, 15 months ago)

Patch - V3

  • 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  
    26352635                );
    26362636
    26372637                clean_user_cache( $user_id );
     2638
     2639                /**
     2640                 * Fires after the password is set.
     2641                 *
     2642                 * @since 6.2.0
     2643                 *
     2644                 * @param string $password The plain text password just set.
     2645                 * @param mixed  $user_id  The ID of the user whose password was just set.
     2646                 */
     2647                do_action( 'wp_set_password', $password, $user_id );
    26382648        }
    26392649endif;
    26402650