WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #33209, comment 12


Ignore:
Timestamp:
04/25/2016 12:10:02 AM (5 years ago)
Author:
thomaswm
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33209, comment 12

    initial v1  
    22
    33* Changes the default text for notification emails so that they contain a placeholder `RESETPWLINK` instead of `PASSWORD`.
    4 * Performs a simple `false !== strpos( $welcome_email, 'PASSWORD' )` check in `wp_welcome_notification`/`wp_welcome_notification`  to see if the email text in the `welcome_email`/`welcome_user_email` option contains the placeholder for the password.
     4* Performs a simple `false !== strpos( $welcome_email, 'PASSWORD' )` check in `wp_welcome_notification`/`wp_welcome_user_notification`  to see if the email text in the `welcome_email`/`welcome_user_email` option contains the placeholder for the password.
    55 * If it does, then the password is sent to the user in plain text (in order to maintain backwards compatibility).
    66 * Otherwise, a password reset link is sent instead.