Make WordPress Core


Ignore:
Timestamp:
02/14/2010 01:00:22 AM (15 years ago)
Author:
dd32
Message:

Formatting, Translations & Whitespace. Props ptahdunbar. See #9015

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/header.php

    r13112 r13128  
    66            single_post_title(); echo ' | '; bloginfo('name');
    77        } elseif ( is_home() || is_front_page() ) {
    8             bloginfo('name'); echo ' | '; bloginfo('description'); get_page_number();
     8            bloginfo('name'); echo ' | '; bloginfo('description'); twentyten_get_page_number();
    99        } elseif ( is_page() ) {
    1010            single_post_title(''); echo ' | '; bloginfo('name');
    1111        } elseif ( is_search() ) {
    12             printf(__('Search results for "%s"', 'twentyten'), esc_html($s)); get_page_number(); echo ' | '; bloginfo('name');
     12            printf(__('Search results for "%s"', 'twentyten'), esc_html($s)); twentyten_get_page_number(); echo ' | '; bloginfo('name');
    1313        } elseif ( is_404() ) {
    1414            _e('Not Found', 'twentyten'); echo ' | '; bloginfo('name');
    1515        } else {
    16             wp_title(''); echo ' | '; bloginfo('name'); get_page_number();
     16            wp_title(''); echo ' | '; bloginfo('name'); twentyten_get_page_number();
    1717        }
    1818    ?></title>
     
    2828    <?php wp_head(); ?>
    2929
    30     <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('rss2_url'); ?>" title="<?php printf( esc_attr__( '%s latest posts', 'twentyten' ), esc_html( get_bloginfo('name') ) ); ?>" />
    31     <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('comments_rss2_url') ?>" title="<?php printf( esc_attr__( '%s latest comments', 'twentyten' ), esc_html( get_bloginfo('name') ) ); ?>" />
    32     <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
     30    <link rel="alternate" type="application/rss+xml" href="<?php bloginfo( 'rss2_url' ); ?>" title="<?php printf( esc_attr__( '%s latest posts', 'twentyten' ), esc_html( get_bloginfo('name') ) ); ?>" />
     31    <link rel="alternate" type="application/rss+xml" href="<?php bloginfo( 'comments_rss2_url' ); ?>" title="<?php printf( esc_attr__( '%s latest comments', 'twentyten' ), esc_html( get_bloginfo('name') ) ); ?>" />
     32    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    3333</head>
    3434
     
    4040
    4141            <div id="branding">
    42                 <div id="site-title"><span><a href="<?php bloginfo( 'url' ) ?>/" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ) ?></a></span></div>
    43                 <div id="site-description"><?php bloginfo( 'description' ) ?></div>
     42                <div id="site-title"><span><a href="<?php home_url(); ?>/" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></div>
     43                <div id="site-description"><?php bloginfo( 'description' ); ?></div>
    4444
    4545                <?php
     
    5353
    5454            <div id="access">
    55                 <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ) ?>"><?php _e( 'Skip to content', 'twentyten' ) ?></a></div>
     55                <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div>
    5656                <?php wp_page_menu( 'sort_column=menu_order' ); ?>
    5757            </div><!-- #access -->
Note: See TracChangeset for help on using the changeset viewer.