[wp-trac] Re: [WordPress Trac] #9682: Move wp-login.php function
definitions to pluggable.php
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 30 14:14:55 GMT 2009
#9682: Move wp-login.php function definitions to pluggable.php
--------------------------+-------------------------------------------------
Reporter: misterbisson | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.8
Component: Users | Version: 2.7.1
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Comment(by misterbisson):
My application requires they either be replaceable, or there be more
sophisticated hooks.
I need to replace reset_password(), for instance, so that it sends the
message to user_email as well as an alternate email address I'm managing
via a plugin. (user_email is being set to a person's on campus address,
but if they can't log in to WP, they probably also can't get a reset email
there.) Additionally, I'm also sending a reset code to the user's cell
phone.
I also need to replace retrieve_password() and make the switch( $action )
pluggable because:
1: the reset code sent to the user's phone is different (shorter) than the
one sent by email and so needs to be verified differently
2: sending a password back by email is unacceptable in my environment, so
I then need to re-verify the username and allow the user to immediately
set a new password.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9682#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list