Ticket #16468: 16468.diff
File 16468.diff, 931 bytes (added by , 11 years ago) |
---|
-
src/wp-content/themes/twentyten/header.php
25 25 26 26 // Add the blog description for the home/front page. 27 27 $site_description = get_bloginfo( 'description', 'display' ); 28 if ( $site_description && ( is_home() || is_front_page() ) ) 28 if ( $site_description && ( is_home() || is_front_page() ) ) { 29 29 echo " | $site_description"; 30 30 } 31 31 // Add a page number if necessary: 32 if ( $paged >= 2 || $page >= 2 )32 if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) { 33 33 echo ' | ' . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) ); 34 34 } 35 35 ?></title> 36 36 <link rel="profile" href="http://gmpg.org/xfn/11" /> 37 37 <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />