Making WordPress.org

Changeset 7209


Ignore:
Timestamp:
05/16/2018 07:41:30 AM (8 years ago)
Author:
dd32
Message:

Login.wordpress.org: SSO: Don't redirect the 'confirmaction' wp-login.php functionality to login.wordpress.org.

File:
1 edited

Legend:

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

    r6676 r7209  
    167167                                // If we're not on the SSO host
    168168                                if ( preg_match( '!/wp-login\.php$!', $this->script ) ) {
     169                                        // Don't redirect the 'confirmaction' wp-login handlers to login.wordpress.org.
     170                                        if ( isset( $_GET['action']  ) && empty( $_POST ) && 'confirmaction' == $_GET['action'] ) {
     171                                                return;
     172                                        }
     173
    169174                                        // If on a WP login screen...
    170175                                        $redirect_to_sso_login = $this->sso_login_url;
Note: See TracChangeset for help on using the changeset viewer.