summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-includes/pluggable-functions.php
diff options
context:
space:
mode:
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;
+
?>