You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon activating a custom theme with the merlin, I noticed a php notice:
Notice : get_current_page was called incorrectly .
Current page retrieval should be called on or after the current_screen hook.
Please see Debugging in WordPress for more information.
If I comment out the do_action( 'admin_head' ) in class-merlin.php protected function header(), then the notice is gone. However I do not fully understand the consequences of commenting out this line, so I am not sure if this is a good idea.
The text was updated successfully, but these errors were encountered:
Upon activating a custom theme with the merlin, I noticed a php notice:
Notice : get_current_page was called incorrectly .
Current page retrieval should be called on or after the
current_screen
hook.Please see Debugging in WordPress for more information.
If I comment out the do_action( 'admin_head' ) in class-merlin.php protected function header(), then the notice is gone. However I do not fully understand the consequences of commenting out this line, so I am not sure if this is a good idea.
The text was updated successfully, but these errors were encountered: