WordPress.org

Make WordPress Core

Ticket #10643: classic_theme.diff

File classic_theme.diff, 817 bytes (added by sirzooro, 5 years ago)

Patch for Classic Theme

  • functions.php

    old new  
    1414                'after_title' => '', 
    1515        )); 
    1616 
     17add_theme_support( 'html-title-filter' ); 
     18 
    1719?> 
  • 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        <style type="text/css" media="screen"> 
    1616                @import url( <?php bloginfo('stylesheet_url'); ?> );