WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/14/2010 09:39:20 PM (10 years ago)
Author:
dd32
Message:

Twentyten whitespace cleanup, Wrap functions in function_exists() call to allow child themes to override them. Props sivel. See #9015

File:
1 edited

Legend:

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

    r13152 r13157  
    66            single_post_title(); echo ' | '; bloginfo('name');
    77        } elseif ( is_home() || is_front_page() ) {
    8             bloginfo('name'); echo ' | '; bloginfo('description'); twentyten_get_page_number();
     8            bloginfo('name'); echo ' | '; bloginfo('description'); twentyten_the_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)); twentyten_get_page_number(); echo ' | '; bloginfo('name');
     12            printf(__('Search results for "%s"', 'twentyten'), esc_html($s)); twentyten_the_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'); twentyten_get_page_number();
     16            wp_title(''); echo ' | '; bloginfo('name'); twentyten_the_page_number();
    1717        }
    1818    ?></title>
     
    2525
    2626    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
     27
    2728    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
     29
    2830    <?php wp_head(); ?>
    2931</head>
Note: See TracChangeset for help on using the changeset viewer.