Make WordPress Core

Changeset 16762


Ignore:
Timestamp:
12/07/2010 07:17:06 AM (16 years ago)
Author:
nacin
Message:

We only need strpos here. Ensures PHP4 compat. props mailnew2ster, fixes #14187.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-http.php

    r16660 r16762  
    14271427                        else
    14281428                                $theBody = '';
    1429                         if ( false !== strrpos($theHeaders, "\r\n\r\n") ) {
     1429                        if ( false !== strpos($theHeaders, "\r\n\r\n") ) {
    14301430                                $headerParts = explode("\r\n\r\n", $theHeaders);
    14311431                                $theHeaders = $headerParts[ count($headerParts) -1 ];
Note: See TracChangeset for help on using the changeset viewer.