Plugin Directory

Changeset 1538688


Ignore:
Timestamp:
11/22/2016 09:46:16 PM (9 years ago)
Author:
andy
Message:

batcache: Removed "HTTP_RAW_POST_DATA" variable replaced with input stream check

https://github.com/Automattic/batcache/commit/b4c14028bfab78115907183b914c6d610b74a7b8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • batcache/trunk/advanced-cache.php

    r1538685 r1538688  
    339339
    340340// Never batcache a POST request.
    341 if ( ! empty( $GLOBALS['HTTP_RAW_POST_DATA'] ) || ! empty( $_POST ) ||
     341if ( ! empty( file_get_contents("php://input") ) || ! empty( $_POST ) ||
    342342    ( isset( $_SERVER['REQUEST_METHOD'] ) && 'POST' === $_SERVER['REQUEST_METHOD'] ) )
    343343{
Note: See TracChangeset for help on using the changeset viewer.