Changes between Initial Version and Version 1 of Ticket #30494, comment 3
- Timestamp:
- 12/26/2014 06:58:16 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30494, comment 3
initial v1 1 I am using: 2 3 1 4 {{{ 2 5 function useso_take_over_google_is_login_page() { 3 return in_array($GLOBALS['pagenow'], array('wp-login.php', 'wp-register.php')); 6 //global $pagenow; 7 return in_array($_SERVER['PHP_SELF'], array('/wp-login.php', '/wp-register.php')); 4 8 } 5 9 }}} 6 10 7 this function will never return true.11 It works.