Support » Plugin: Two Factor Auth » $_GET('warning_button_clicked')

  • Resolved Thomas van der Beek

    (@thomasvanderbeek)


    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/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘$_GET('warning_button_clicked')’ is closed to new replies.