mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
git-svn-id: http://core.svn.wordpress.org/trunk@23573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
76e80eaa86
commit
a8ac6346f8
@ -356,7 +356,7 @@ class WP {
|
|||||||
|
|
||||||
// Support for Conditional GET
|
// Support for Conditional GET
|
||||||
if (isset($_SERVER['HTTP_IF_NONE_MATCH']))
|
if (isset($_SERVER['HTTP_IF_NONE_MATCH']))
|
||||||
$client_etag = stripslashes(stripslashes($_SERVER['HTTP_IF_NONE_MATCH']));
|
$client_etag = wp_unslash( $_SERVER['HTTP_IF_NONE_MATCH'] );
|
||||||
else $client_etag = false;
|
else $client_etag = false;
|
||||||
|
|
||||||
$client_last_modified = empty($_SERVER['HTTP_IF_MODIFIED_SINCE']) ? '' : trim($_SERVER['HTTP_IF_MODIFIED_SINCE']);
|
$client_last_modified = empty($_SERVER['HTTP_IF_MODIFIED_SINCE']) ? '' : trim($_SERVER['HTTP_IF_MODIFIED_SINCE']);
|
||||||
|
Loading…
Reference in New Issue
Block a user