Plugin Directory

Changeset 618811

Timestamp:
10/29/2012 08:18:54 PM (12 years ago)
Author:
jblz
Message:

Jetpack: Avoid sending PHP notice when checking $GLOBALSHTTP_RAW_POST_DATA? if it's not set. When WP_DEBUG is on, Notices kill oauth negotiation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jetpack/trunk/class.jetpack-signature.php

    r610170 r618811  
    4343            $body = $override['body'];
    4444        } else if ( 'POST' == strtoupper( $_SERVER['REQUEST_METHOD'] ) ) {
    45             $body = $GLOBALS['HTTP_RAW_POST_DATA'];
     45            $body = ;
    4646        } else {
    4747            $body = null;
Note: See TracChangeset for help on using the changeset viewer.