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

WordPress Trac noreply at wordpress.org
Fri Dec 26 06:29:10 UTC 2014


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

Comment (by dallaslu):

 Replying to [comment:1 voldemortensen]:
 > Could you provide some more information about the issue?
 $_GLOBALS['pagenow'] is never used in wp-login.php. Is there something you
 are trying to do with pagenow?


 {{{
 function useso_take_over_google_is_login_page() {
         return in_array($GLOBALS['pagenow'], array('wp-login.php', 'wp-
 register.php'));
 }
 }}}

 this function will never return true.

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


More information about the wp-trac mailing list