Fix for notice
-
A notice is displayed in debug mode when ‘pagenow’ is not yet set.
To resolve, in two-factor-login.php replace:
if ('wp-login.php' === $GLOBALS['pagenow']) {
with:
if (isset($GLOBALS['pagenow']) && 'wp-login.php' === $GLOBALS['pagenow']) {
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Fix for notice’ is closed to new replies.