mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-12 13:44:21 +01:00
Removed aggresive assumption.
git-svn-id: http://svn.automattic.com/wordpress/trunk@52 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
445235a5c7
commit
05ea50a8c9
@ -35,13 +35,15 @@ $b2varstoreset = array('m','p','posts','w','c', 'cat','withcomments','s','search
|
|||||||
/* Connecting to the db */
|
/* Connecting to the db */
|
||||||
dbconnect();
|
dbconnect();
|
||||||
|
|
||||||
/* Sending HTTP headers */
|
/* Sending HTTP headers
|
||||||
|
// 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");
|
@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).'"');
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
/* Getting settings from db */
|
/* Getting settings from db */
|
||||||
$posts_per_page = get_settings('posts_per_page');
|
$posts_per_page = get_settings('posts_per_page');
|
||||||
|
Loading…
Reference in New Issue
Block a user