]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/theme-compat/header.php
WordPress 4.7.2-scripts
[autoinstalls/wordpress.git] / wp-includes / theme-compat / header.php
index b6f4fce64a3e943e55ecc5955fbaf0a647893ca2..831144fe4c221b779231882fbadcc5be7e544934 100644 (file)
@@ -2,12 +2,18 @@
 /**
  * @package WordPress
  * @subpackage Theme_Compat
- * @deprecated 3.0
- *
- * This file is here for Backwards compatibility with old themes and will be removed in a future version
+ * @deprecated 3.0.0
  *
+ * This file is here for backward compatibility with old themes and will be removed in a future version.
  */
-_deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3.0', null, sprintf( __('Please include a %1$s template in your theme.'), basename(__FILE__) ) );
+_deprecated_file(
+       /* translators: %s: template name */
+       sprintf( __( 'Theme without %s' ), basename( __FILE__ ) ),
+       '3.0.0',
+       null,
+       /* translators: %s: template name */
+       sprintf( __( 'Please include a %s template in your theme.' ), basename( __FILE__ ) )
+);
 ?>
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
@@ -15,7 +21,7 @@ _deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3.
 <link rel="profile" href="http://gmpg.org/xfn/11" />
 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
 
-<title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
+<title><?php echo wp_get_document_title(); ?></title>
 
 <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
 <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />