[wp-trac] [WordPress Trac] #22114: Propagating password on change

WordPress Trac noreply at wordpress.org
Wed Oct 8 03:02:28 UTC 2014


#22114: Propagating password on change
-----------------------------+------------------------------
 Reporter:  ChloeD           |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Users            |     Version:  3.4.2
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:
-----------------------------+------------------------------
Changes (by pento):

 * keywords:  has-patch => needs-patch


Comment:

 It would need to be implemented in both `wp_insert_user()` and
 `wp_update_user()`, so that we expose the password of new users, too.

 I wonder if this would be better as a filter? That way, a plugin (say, a
 password strength enforcement plugin) could return a `WP_Error` if the
 password is unacceptable, which can be returned to the calling function.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/22114#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list