[Bug] Non-existence of key in $_GET
-
Hi,
I have errors such as
Undefined index: page in wp-content/plugins/easy-age-verifier/easy-age-verifier.php on line 159
due to a missing test whether the key
page
does exist in the following function:function redirect_to_customizer(){ global $_GET; if($_GET['page'] == 'eav-options'){ wp_redirect(admin_url().'customize.php?autofocus[section]=eav_section'); die; } }
Please add an
isset($_GET['page'])
or something else. Thanks!Best regards,
Jay
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Bug] Non-existence of key in $_GET’ is closed to new replies.