[wp-trac] [WordPress Trac] #32373: Allow For execution of code before login processing

WordPress Trac noreply at wordpress.org
Thu May 21 03:43:01 UTC 2015


#32373: Allow For execution of code before login processing
--------------------------------------------+------------------------------
 Reporter:  Another Guy                     |       Owner:
     Type:  enhancement                     |      Status:  new
 Priority:  normal                          |   Milestone:  Awaiting Review
Component:  Security                        |     Version:  trunk
 Severity:  normal                          |  Resolution:
 Keywords:  dev-feedback 2nd-opinion close  |     Focuses:
--------------------------------------------+------------------------------

Comment (by dd32):

 One way of achieving the proposed idea is to simply put your custom code
 in your wp-config.php file.
 For example, I've used similar code to the following before:
 {{{
 if ( '/wp-login.php' == $_SERVER['REQUEST_URI'] && isset( $_POST['log'] )
 && 'admin' == $_POST['log'] ) {
    die();
 }
 }}}

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


More information about the wp-trac mailing list