[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 18:47:47 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 needs-testing 2nd-opinion
--------------------------+-------------------------------------------------

Comment(by misterbisson):

 Replying to [comment:14 Denis-de-Bernardy]:
 > > The password_reset action happens after the $key has been validated
 (preventing plugins from doing their own validation/expiration).
 >
 > shouldn't this be the job of a separate action? that way you get to keep
 the best of both worlds: if the user is sent an email by WP and an SMS,
 the first would send him to ?action=rp&key=foo, and the second would send
 him to ?action=smsrp&smskey=foo.

 If WP expired the reset codes, then maybe, but because expiring is a
 required feature for me....

 I've actually developed a framework to handle this and similar actions:
 [http://maisonbisson.com/blog/post/13862/wordpress-action-ticketing-api/].
 Since we seem to be working in such a similar space, I'd appreciate your
 feedback.

 Your latest patch allows me to override the built in actions, though, so
 I'm good.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9682#comment:17>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list