[wp-trac] [WordPress Trac] #30494: $GLOBALS['pagenow'] is empty under the case wp-login.php

WordPress Trac noreply at wordpress.org
Sun Nov 22 15:09:19 UTC 2015


#30494: $GLOBALS['pagenow'] is empty under the case wp-login.php
------------------------------------+-------------------------
 Reporter:  dallaslu                |       Owner:
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:
Component:  Login and Registration  |     Version:  4.0.1
 Severity:  normal                  |  Resolution:  worksforme
 Keywords:                          |     Focuses:
------------------------------------+-------------------------
Changes (by afercia):

 * keywords:  reporter-feedback =>
 * status:  new => closed
 * resolution:   => worksforme
 * milestone:  Awaiting Review =>


Comment:

 Just checked both 4.0 and trunk and

 {{{
 in_array( $GLOBALS['pagenow'], array( 'wp-login.php', 'wp-register.php') )
 }}}
 returns true for me.

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


More information about the wp-trac mailing list