Changeset 22199
- Timestamp:
- 10/11/2012 09:30:42 PM (12 years ago)
- Location:
- trunk/wp-content/themes/twentyeleven
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyeleven/content-aside.php
r21368 r22199 14 14 <header class="entry-header"> 15 15 <hgroup> 16 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>16 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 17 17 <h3 class="entry-format"><?php _e( 'Aside', 'twentyeleven' ); ?></h3> 18 18 </hgroup> -
trunk/wp-content/themes/twentyeleven/content-featured.php
r18335 r22199 12 12 <article id="post-<?php the_ID(); ?>" <?php post_class( $feature_class ); ?>> 13 13 <header class="entry-header"> 14 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>14 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 15 15 16 16 <div class="entry-meta"> -
trunk/wp-content/themes/twentyeleven/content-gallery.php
r21368 r22199 14 14 <header class="entry-header"> 15 15 <hgroup> 16 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>16 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 17 17 <h3 class="entry-format"><?php _e( 'Gallery', 'twentyeleven' ); ?></h3> 18 18 </hgroup> … … 46 46 47 47 <p><em><?php printf( _n( 'This gallery contains <a %1$s>%2$s photo</a>.', 'This gallery contains <a %1$s>%2$s photos</a>.', $total_images, 'twentyeleven' ), 48 'href="' . esc_url( get_permalink() ) . '" title="' . sprintf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0') ) . '" rel="bookmark"',48 'href="' . esc_url( get_permalink() ) . '" title="' . esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ) . '" rel="bookmark"', 49 49 number_format_i18n( $total_images ) 50 50 ); ?></em></p> -
trunk/wp-content/themes/twentyeleven/content-image.php
r21368 r22199 13 13 <header class="entry-header"> 14 14 <hgroup> 15 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>15 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 16 16 <h3 class="entry-format"><?php _e( 'Image', 'twentyeleven' ); ?></h3> 17 17 </hgroup> -
trunk/wp-content/themes/twentyeleven/content-link.php
r21368 r22199 14 14 <header class="entry-header"> 15 15 <hgroup> 16 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>16 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 17 17 <h3 class="entry-format"><?php _e( 'Link', 'twentyeleven' ); ?></h3> 18 18 </hgroup> -
trunk/wp-content/themes/twentyeleven/content-quote.php
r21368 r22199 12 12 <header class="entry-header"> 13 13 <hgroup> 14 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>14 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 15 15 <h3 class="entry-format"><?php _e( 'Quote', 'twentyeleven' ); ?></h3> 16 16 </hgroup> -
trunk/wp-content/themes/twentyeleven/content-status.php
r21368 r22199 13 13 <header class="entry-header"> 14 14 <hgroup> 15 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>15 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 16 16 <h3 class="entry-format"><?php _e( 'Status', 'twentyeleven' ); ?></h3> 17 17 </hgroup> -
trunk/wp-content/themes/twentyeleven/content.php
r22193 r22199 13 13 <?php if ( is_sticky() ) : ?> 14 14 <hgroup> 15 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>15 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 16 16 <h3 class="entry-format"><?php _e( 'Featured', 'twentyeleven' ); ?></h3> 17 17 </hgroup> 18 18 <?php else : ?> 19 <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>19 <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> 20 20 <?php endif; ?> 21 21 -
trunk/wp-content/themes/twentyeleven/inc/widgets.php
r19308 r22199 87 87 88 88 <li class="widget-entry-title"> 89 <a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a>89 <a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a> 90 90 <span class="comments-link"> 91 91 <?php comments_popup_link( __( '0 <span class="reply">comments →</span>', 'twentyeleven' ), __( '1 <span class="reply">comment →</span>', 'twentyeleven' ), __( '% <span class="reply">comments →</span>', 'twentyeleven' ) ); ?> … … 103 103 $link_url = get_permalink(); 104 104 ?> 105 <a href="<?php echo esc_url( $link_url ); ?>" title="<?php printf( esc_attr__( 'Link to %s', 'twentyeleven' ), the_title_attribute( 'echo=0') ); ?>" rel="bookmark"><?php the_title(); ?> <span>→</span></a>105 <a href="<?php echo esc_url( $link_url ); ?>" title="<?php echo esc_attr( sprintf( __( 'Link to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?> <span>→</span></a> 106 106 <span class="comments-link"> 107 107 <?php comments_popup_link( __( '0 <span class="reply">comments →</span>', 'twentyeleven' ), __( '1 <span class="reply">comment →</span>', 'twentyeleven' ), __( '% <span class="reply">comments →</span>', 'twentyeleven' ) ); ?> -
trunk/wp-content/themes/twentyeleven/showcase.php
r20983 r22199 118 118 $thumbnail_size = 'small-feature'; 119 119 ?> 120 <a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0') ); ?>" rel="bookmark"><?php the_post_thumbnail( $thumbnail_size ); ?></a>120 <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_post_thumbnail( $thumbnail_size ); ?></a> 121 121 <?php 122 122 } … … 148 148 $class = ''; 149 149 ?> 150 <li><a href="#featured-post-<?php echo $counter_slider; ?>" title="<?php printf( esc_attr__( 'Featuring: %s', 'twentyeleven' ), the_title_attribute( 'echo=0') ); ?>" <?php echo $class; ?>></a></li>150 <li><a href="#featured-post-<?php echo $counter_slider; ?>" title="<?php echo esc_attr( sprintf( __( 'Featuring: %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" <?php echo $class; ?>></a></li> 151 151 <?php endwhile; ?> 152 152 </ul> … … 197 197 198 198 <li class="entry-title"> 199 <a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a>199 <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a> 200 200 <span class="comments-link"> 201 201 <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?>
Note: See TracChangeset
for help on using the changeset viewer.