Make WordPress Core

Ticket #18043: patch.diff

File patch.diff, 478 bytes (added by v-media, 11 years ago)

Better patch for the bug #18043

  • .php

    old new  
    7474        ? ( ( $client_modified_timestamp >= $modified_timestamp) && ( $client_etag == $etag ) )
    7575        : ( ( $client_modified_timestamp >= $modified_timestamp) || ( $client_etag == $etag ) )
    7676        ) {
     77    // replace the original content length to avoid problems with infinite file load
     78    header( 'Content-Length: 0', true);
    7779        status_header( 304 );
    7880        exit;
    7981}