Changeset 13105 for trunk/wp-content/themes/twentyten/header.php
- Timestamp:
- 02/13/2010 09:59:16 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/header.php
r13059 r13105 6 6 elseif ( is_home() || is_front_page() ) { bloginfo('name'); print ' | '; bloginfo('description'); get_page_number(); } 7 7 elseif ( is_page() ) { single_post_title(''); print ' | '; bloginfo('name'); } 8 elseif ( is_search() ) { print 'Search results for ' . wp_specialchars($s); get_page_number(); print ' | '; bloginfo('name'); }8 elseif ( is_search() ) { print 'Search results for ' . esc_html($s); get_page_number(); print ' | '; bloginfo('name'); } 9 9 elseif ( is_404() ) { print 'Not Found | '; bloginfo('name'); } 10 10 else { bloginfo('name'); wp_title('|'); get_page_number(); } … … 21 21 <?php wp_head(); ?> 22 22 23 <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('rss2_url'); ?>" title="<?php printf( esc_attr__( '%s latest posts', 'twentyten' ), wp_specialchars( get_bloginfo('name'), 1) ); ?>" />24 <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('comments_rss2_url') ?>" title="<?php printf( esc_attr__( '%s latest comments', 'twentyten' ), wp_specialchars( get_bloginfo('name'), 1) ); ?>" />23 <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') ) ); ?>" /> 24 <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') ) ); ?>" /> 25 25 <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> 26 26 </head>
Note: See TracChangeset
for help on using the changeset viewer.