Making WordPress.org

Changeset 9746


Ignore:
Timestamp:
04/20/2020 07:38:55 AM (5 years ago)
Author:
dd32
Message:

SSO: Verify that the action parameter is set before accessing it.

Fixes a PHP Notice.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/common/includes/wporg-sso/bb-plugin.php

    r9182 r9746  
    4141                    // Let users log in from the header's form, for now.
    4242                    return;
    43                 } else if ( 'logout' == $_GET['action'] ) {
     43                } else if ( isset( $_GET['action'] ) && 'logout' == $_GET['action'] ) {
    4444                    // Let users log out without a trip to the SSO host.
    4545                    return;
Note: See TracChangeset for help on using the changeset viewer.