WordPress.org

Make WordPress Core

Ticket #10643: default_theme.diff

File default_theme.diff, 947 bytes (added by sirzooro, 8 years ago)

Patch for Default Theme

  • functions.php

    old new  
    1717        ));
    1818}
    1919
     20add_theme_support( 'html-title-filter' );
     21
    2022/** @ignore */
    2123function kubrick_head() {
    2224        $head = "<style type='text/css'>\n<!--";
  • header.php

    old new  
    1010<head profile="http://gmpg.org/xfn/11">
    1111<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    1212
    13 <title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
     13<title><?php echo apply_filters('html_title', wp_title('&laquo;', false, 'right').' '.get_bloginfo('name', 'display')); ?></title>
    1414
    1515<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    1616<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />