[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 15:35:46 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):

 The solution in your last diffs is what I'd first considered, but that
 either limits the action to the built-in ones or requires another hook to
 set allowable actions.

 Understanding your point about actions being set and then removed, the
 following should work:
 {{{
 global $wp_filter;
 if( is_array( $wp_filter[ 'wp_login_'. $action ] ) && count( $wp_filter[
 'wp_login_'. $action ] )):
 }}}

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


More information about the wp-trac mailing list