summaryrefslogtreecommitdiffstats
path: root/wp-inst
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-08-12 14:56:59 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-08-12 14:56:59 +0000
commit9c35a3b98ee7f7c3137eb96e79611651505bf6cc (patch)
tree0474a05cfc829f0d2c6314b0ad2cf575be88bdad /wp-inst
parentf278634d72ba3699ab77f3bdbf8c0de4961443bd (diff)
downloadwordpress-mu-9c35a3b98ee7f7c3137eb96e79611651505bf6cc.tar.gz
wordpress-mu-9c35a3b98ee7f7c3137eb96e79611651505bf6cc.tar.xz
wordpress-mu-9c35a3b98ee7f7c3137eb96e79611651505bf6cc.zip
Moved headers around
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@178 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst')
-rw-r--r--wp-inst/wp-includes/pluggable-functions.php16
-rw-r--r--wp-inst/wp-includes/wpmu-functions.php8
2 files changed, 8 insertions, 16 deletions
diff --git a/wp-inst/wp-includes/pluggable-functions.php b/wp-inst/wp-includes/pluggable-functions.php
index 941ab75..c6cb5cc 100644
--- a/wp-inst/wp-includes/pluggable-functions.php
+++ b/wp-inst/wp-includes/pluggable-functions.php
@@ -313,20 +313,4 @@ function wp_notify_moderator($comment_id) {
}
endif;
-if ( !function_exists('x_headers') ) :
-function x_headers() {
- global $current_site, $current_blog, $WPMU_date;
-
- 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 )
- header( "X-wpmu-date: $WPMU_date" );
-
-
-}
-add_action('wp_head', "x_headers" );
-endif;
-
?>
diff --git a/wp-inst/wp-includes/wpmu-functions.php b/wp-inst/wp-includes/wpmu-functions.php
index 794aa83..1d8aab6 100644
--- a/wp-inst/wp-includes/wpmu-functions.php
+++ b/wp-inst/wp-includes/wpmu-functions.php
@@ -279,6 +279,14 @@ SITE_NAME" ) );
return "ok";
}
+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 )
+ header( "X-wpmu-date: $WPMU_date" );
+
+
function get_blogaddress_by_id( $blog_id ) {
global $hostname, $domain, $base, $wpdb;