Title: Sent password does not work
Last modified: August 30, 2016

---

# Sent password does not work

 *  Resolved [TIEro](https://wordpress.org/support/users/tiero/)
 * (@tiero)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/sent-password-does-not-work/)
 * I’ve just tested this, as reported by a new site member, and it’s weird: the 
   plugin takes the user’s registration (name, email, country, Solve Media Captcha)
   and generates everything as it should. Unfortunately, it doesn’t send out the
   right password.
 * I tested it with a fake account and it chose the password “both”. Deleted the
   user, created another: password “both”.
 * Something is very wrong here. I used the shortcode [password] in the WP-members
   email, unchanged since version… er… 2 point something!
 * [https://wordpress.org/plugins/wp-members/](https://wordpress.org/plugins/wp-members/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [TIEro](https://wordpress.org/support/users/tiero/)
 * (@tiero)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/sent-password-does-not-work/#post-6463432)
 * Found and worked around.
 * It turns out this is in the “SB Welcome Email Editor” plugin, not wp-members.
   My apologies for the confusion… too many little plugins to do each little thing!!
   🙂
 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/sent-password-does-not-work/#post-6463510)
 * The issue you mentioned is the result of a change in WP 4.3 for the [wp_new_user_notification() function](https://codex.wordpress.org/Function_Reference/wp_new_user_notification).
 * WP-Members does not actually use this function, so any issues in 4.3 related 
   to this would come from another plugin, as you already noted – I’m just adding
   info to this for later readers who stumble on this searching for the same or 
   similar issue. Side note: there is a premium extension for the plugin that does
   use this, but it has been updated to accommodate changes in WP 4.3 – so if you
   are a user of the “WP-Members Override WP User Registration Email” extension,
   make sure you have [the most recent version](http://rocketgeek.com/tips-and-tricks/change-the-wordpress-new-user-registration-email-to-use-the-wp-members-email/)(
   0.3 or higher).
 * `wp_new_user_notification()` accepts two arguments. The first is the `$user_id`.
   The second was changed in WP 4.3. It used to be the plain text password. As of
   the final 4.3, it was changed to whether the admin and user should be notified(‘
   both’) or only the admin (‘admin’ or empty).
 * This function is a pluggable function, so it can be overridden with plugins. 
   But if those plugins assume that the second argument that is being received is
   the password, the result will be an email that includes a password of “both”,“
   admin”, or an empty value; none of which will actually be the password.
 * The reason for the change is that the default process for a new user as of WP
   4.3 is to send the user a link to create a password. In this way, the system 
   no longer relies on sending a password through email (insecure) that the user
   is expected to change upon first login (lazy people don’t do it). It’s my opinion
   that it would have been nice to know more about this in advance (the [official list](https://codex.wordpress.org/Version_4.3)
   does not yet mention it), but it is what it is.
 * It may take a little time for the issues related to this to be worked out because
   it really depends upon how engaged and active the plugin developer is for any
   plugin effected. As I mentioned in the beginning, WP-Members does not use this
   function and the extension that does has been updated.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Sent password does not work’ is closed to new replies.

 * ![](https://ps.w.org/wp-members/assets/icon-256x256.png?rev=1226414)
 * [WP-Members Membership Plugin](https://wordpress.org/plugins/wp-members/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-members/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-members/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-members/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-members/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-members/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/sent-password-does-not-work/#post-6463510)
 * Status: resolved