I18n fixes for header.php in Twentyten. Props zeo. See #13198
git-svn-id: http://svn.automattic.com/wordpress/trunk@14535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
25e4c70b5d
commit
d4e3352f1e
|
@ -45,12 +45,12 @@
|
||||||
<div id="header">
|
<div id="header">
|
||||||
<div id="masthead">
|
<div id="masthead">
|
||||||
<div id="branding">
|
<div id="branding">
|
||||||
<?php if ( is_home() || is_front_page() ) { ?>
|
<?php $heading_tag = ( is_home() || is_front_page() )? 'h1' : 'div'; ?>
|
||||||
<h1 id="site-title"><span><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></h1>
|
<<?php echo $heading_tag; ?> id="site-title">
|
||||||
<?php } else { ?>
|
<span>
|
||||||
<div id="site-title"><span><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></div>
|
<a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
|
||||||
<?php } ?>
|
</span>
|
||||||
|
</<?php echo $heading_tag; ?>>
|
||||||
<div id="site-description"><?php bloginfo( 'description' ); ?></div>
|
<div id="site-description"><?php bloginfo( 'description' ); ?></div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in New Issue