Pingback fix.
git-svn-id: https://develop.svn.wordpress.org/trunk@57 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4538b0cc22
commit
e245337a5a
@ -35,10 +35,10 @@ $b2varstoreset = array('m','p','posts','w','c', 'cat','withcomments','s','search
|
|||||||
/* Connecting to the db */
|
/* Connecting to the db */
|
||||||
dbconnect();
|
dbconnect();
|
||||||
|
|
||||||
|
@header ("X-Pingback: $pathserver/xmlrpc.php");
|
||||||
/* Sending HTTP headers
|
/* Sending HTTP headers
|
||||||
// It is presumptious to think that WP is the only thing that might change on the page.
|
// It is presumptious to think that WP is the only thing that might change on the page.
|
||||||
$last_modified_header = mysql2date('D, d M Y H:i:s', get_lastpostdate());
|
$last_modified_header = mysql2date('D, d M Y H:i:s', get_lastpostdate());
|
||||||
@header ("X-Pingback: $pathserver/xmlrpc.php");
|
|
||||||
if (!$is_winIE) {
|
if (!$is_winIE) {
|
||||||
@header ("Last-Modified: $last_modified_header");
|
@header ("Last-Modified: $last_modified_header");
|
||||||
@header ('ETag: "'.md5($last_modified_header.$pagenow).'"');
|
@header ('ETag: "'.md5($last_modified_header.$pagenow).'"');
|
||||||
|
Loading…
Reference in New Issue
Block a user