diff options
Diffstat (limited to 'wp-inst/wp-includes/pluggable-functions.php')
| -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" ); } |
