WordPress.org

Make WordPress Core

Ticket #14169: 14169.patch

File 14169.patch, 589 bytes (added by hakre, 8 years ago)
  • wp-app.php

    ### Eclipse Workspace Patch 1.0
    #P wordpress
     
    15441544                else
    15451545                        $client_etag = false;
    15461546
    1547                 $client_last_modified = trim( $_SERVER['HTTP_IF_MODIFIED_SINCE']);
     1547                $client_last_modified = trim( stripslashes( $_SERVER['HTTP_IF_MODIFIED_SINCE'] ) );
    15481548                // If string is empty, return 0. If not, attempt to parse into a timestamp
    15491549                $client_modified_timestamp = $client_last_modified ? strtotime($client_last_modified) : 0;
    15501550