Plugin Directory

Changeset 662836


Ignore:
Timestamp:
02/03/2013 04:20:03 PM (13 years ago)
Author:
Bit51
Message:

Fixed error message when InfiniteWP is not installed.

File:
1 edited

Legend:

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

    r652139 r662836  
    1616            $HTTP_RAW_POST_DATA = file_get_contents( 'php://input' );
    1717            $data = base64_decode( $HTTP_RAW_POST_DATA );
     18
    1819            if ( $data ) {
    1920                $unserialized_data = unserialize( $data );
    20                 $iwp_action = $unserialized_data['iwp_action'];
    21             }
     21                if ( isset( $unserialized_data['iwp_action'] ) ) {
     22                    $iwp_action = $unserialized_data['iwp_action'];
     23                }
     24            }
     25           
    2226            if ( $iwp_action ) {
    2327                $isIWP = true;
Note: See TracChangeset for help on using the changeset viewer.