summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-includes/pluggable-functions.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-08-10 20:23:06 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-08-10 20:23:06 +0000
commit931c1f413d9fdcd218f9994c8da48b5e6d0542eb (patch)
tree3b20e9d54ad9bd6fb3f05ae9ad1d25225f56b327 /wp-inst/wp-includes/pluggable-functions.php
parent99d82e916d832364da3d255f5ebba071c164b96c (diff)
downloadwordpress-mu-931c1f413d9fdcd218f9994c8da48b5e6d0542eb.tar.gz
wordpress-mu-931c1f413d9fdcd218f9994c8da48b5e6d0542eb.tar.xz
wordpress-mu-931c1f413d9fdcd218f9994c8da48b5e6d0542eb.zip
moved function from plugin to core.
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@157 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-includes/pluggable-functions.php')
-rw-r--r--wp-inst/wp-includes/pluggable-functions.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/wp-inst/wp-includes/pluggable-functions.php b/wp-inst/wp-includes/pluggable-functions.php
index c6cb5cc..1a85624 100644
--- a/wp-inst/wp-includes/pluggable-functions.php
+++ b/wp-inst/wp-includes/pluggable-functions.php
@@ -313,4 +313,19 @@ function wp_notify_moderator($comment_id) {
}
endif;
+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";
+ if( empty( $WPMU_date ) == false )
+ print "<meta name='X-wpmu-date' content='" . $WPMU_date . "' />\n";
+
+
+}
+add_action('wp_head', "x_headers" );
+endif;
+
?>