Plugin Directory

Changeset 652138


Ignore:
Timestamp:
01/13/2013 09:24:07 PM (13 years ago)
Author:
Bit51
Message:

Updated fix for InfiniteWP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • better-wp-security/trunk/inc/secure.php

    r642113 r652138  
    1414
    1515            //set a global variable if this is a call from InfiniteWP
    16             if ( defined( 'IWP_AUTHORISED_CALL' ) ) {
     16            $HTTP_RAW_POST_DATA = file_get_contents('php://input');
     17            $data = base64_decode($HTTP_RAW_POST_DATA);
     18            if ( $data ) {
     19                $unserialized_data = unserialize( $data );
     20                $iwp_action = $unserialized_data['iwp_action'];
     21            }
     22            if ( $iwp_action ) {
    1723                $isIWP = true;
    1824            } else {
Note: See TracChangeset for help on using the changeset viewer.