diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-08-12 10:29:42 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-08-12 10:29:42 +0000 |
commit | 591aed940df18fbb54f57d519f7565ecf4b72b58 (patch) | |
tree | 38fcf7d136fc61f43f12fd09fcc1f3b23d928281 /wp-inst | |
parent | 3b5c6427610f14dd2a74f454e3624e9c70aff5d2 (diff) | |
download | wordpress-mu-591aed940df18fbb54f57d519f7565ecf4b72b58.tar.gz wordpress-mu-591aed940df18fbb54f57d519f7565ecf4b72b58.tar.xz wordpress-mu-591aed940df18fbb54f57d519f7565ecf4b72b58.zip |
meta -> headers
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@169 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst')
-rw-r--r-- | wp-inst/wp-includes/pluggable-functions.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/wp-inst/wp-includes/pluggable-functions.php b/wp-inst/wp-includes/pluggable-functions.php index 1a85624..941ab75 100644 --- a/wp-inst/wp-includes/pluggable-functions.php +++ b/wp-inst/wp-includes/pluggable-functions.php @@ -317,11 +317,12 @@ if ( !function_exists('x_headers') ) : function x_headers() { global $current_site, $current_blog, $WPMU_date; - print "<meta name='X-totalblogs' content='" . get_blog_count() . "' />\n"; - print "<meta name='X-rootblog' content='http://" . $current_site->domain . $current_site->path. "' />\n"; - print "<meta name='X-created-on' content='" . $current_blog->registered . "' />\n"; + header( "X-totalblogs: " . get_blog_count() ); + header( "X-rootblog: http://" . $current_site->domain . $current_site->path ); + header( "X-created-on: " . $current_blog->registered ); + if( empty( $WPMU_date ) == false ) - print "<meta name='X-wpmu-date' content='" . $WPMU_date . "' />\n"; + header( "X-wpmu-date: $WPMU_date" ); } |