summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-includes/classes.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-11-11 11:27:43 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-11-11 11:27:43 +0000
commitb92deb93cf1b425d3b0da113dce719ff3e7af839 (patch)
tree4579958b1d0169cf8d86ad2e55286c7b5be90148 /wp-inst/wp-includes/classes.php
parentaa750edffae8aeb649b0b2f15900db988e588de7 (diff)
downloadwordpress-mu-b92deb93cf1b425d3b0da113dce719ff3e7af839.tar.gz
wordpress-mu-b92deb93cf1b425d3b0da113dce719ff3e7af839.tar.xz
wordpress-mu-b92deb93cf1b425d3b0da113dce719ff3e7af839.zip
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@430 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-includes/classes.php')
-rw-r--r--wp-inst/wp-includes/classes.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/wp-inst/wp-includes/classes.php b/wp-inst/wp-includes/classes.php
index b734d91..cf12941 100644
--- a/wp-inst/wp-includes/classes.php
+++ b/wp-inst/wp-includes/classes.php
@@ -1500,7 +1500,10 @@ class WP {
}
function send_headers() {
+ global $current_user;
@header('X-Pingback: '. get_bloginfo('pingback_url'));
+ if ( $current_user )
+ nocache_headers();
if ( !empty($this->query_vars['error']) && '404' == $this->query_vars['error'] ) {
status_header( 404 );
} else if ( empty($this->query_vars['feed']) ) {
@@ -1600,8 +1603,8 @@ class WP {
function main($query_args = '') {
$this->parse_request($query_args);
- $this->send_headers();
$this->prime_caches();
+ $this->send_headers();
$this->query_posts();
$this->handle_404();
$this->register_globals();