[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:26:35 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):
{{{
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:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list