Making WordPress.org

Changeset 14018


Ignore:
Timestamp:
09/03/2024 05:32:55 AM (17 months ago)
Author:
dd32
Message:

SSO: Allow the action=confirmaction confirmation links used by the Privacy functions to be a POST request.

File:
1 edited

Legend:

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

    r13982 r14018  
    305305                if ( preg_match( '!/wp-login\.php$!', $this->script ) ) {
    306306                    // Don't redirect the 'confirmaction' wp-login handlers to login.wordpress.org.
    307                     if ( isset( $_GET['action'] ) && empty( $_POST ) && 'confirmaction' == $_GET['action'] ) {
     307                    if ( isset( $_REQUEST['action'] ) && 'confirmaction' == $_REQUEST['action'] ) {
    308308                        return;
    309309                    }
Note: See TracChangeset for help on using the changeset viewer.