Title: $_GET(&#039;warning_button_clicked&#039;)
Last modified: August 21, 2016

---

# $_GET('warning_button_clicked')

 *  Resolved [Thomas](https://wordpress.org/support/users/thomasvanderbeek/)
 * (@thomasvanderbeek)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/_getwarning_button_clicked/)
 * First of all, let me say I love your work! Just have a little request for change
   🙂
 * When having WP_DEBUG set to TRUE, you receive an Undefined index Notice on the/
   wp-admin/admin.php?page=two-factor-auth-user page(s).
 * Fairly easy to fix in /two-factor-auth/user_settings.php (line 14):
    `if( $_GET['
   warning_button_clicked'] == 1 ) { ... }`
 * my way:
    `if( isset( $_GET['warning_button_clicked'] ) && 1 == $_GET['warning_button_clicked']){...}`
 * Could you take this one in your next release? Thanks!
 * [http://wordpress.org/plugins/two-factor-auth/](http://wordpress.org/plugins/two-factor-auth/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [oskarhane](https://wordpress.org/support/users/oskarhane/)
 * (@oskarhane)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/_getwarning_button_clicked/#post-4208819)
 * Ah, yes, of course!
    Thanks.
 *  Thread Starter [Thomas](https://wordpress.org/support/users/thomasvanderbeek/)
 * (@thomasvanderbeek)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/_getwarning_button_clicked/#post-4208833)
 * `if( isset( $_GET['warning_button_clicked'] ) ) {...}`
 * Would do the same. The value doesn’t matter in this case.
 * Thanks!
 *  Plugin Author [oskarhane](https://wordpress.org/support/users/oskarhane/)
 * (@oskarhane)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/_getwarning_button_clicked/#post-4208924)
 * This is now out in v.4.3!
    Thanks for the report.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘$_GET('warning_button_clicked')’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/two-factor-auth_6b5d3d.svg)
 * [Two Factor Auth](https://wordpress.org/plugins/two-factor-auth/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/two-factor-auth/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/two-factor-auth/)
 * [Active Topics](https://wordpress.org/support/plugin/two-factor-auth/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/two-factor-auth/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/two-factor-auth/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [oskarhane](https://wordpress.org/support/users/oskarhane/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/_getwarning_button_clicked/#post-4208924)
 * Status: resolved