Changeset 45604 for trunk/src/wp-content/themes/twentyeleven/showcase.php
- Timestamp:
- 07/05/2019 08:03:40 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyeleven/showcase.php
r43571 r45604 125 125 $thumbnail_size = 'small-feature'; 126 126 } 127 128 /* translators: %s: post title */ 129 $title = sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); 127 130 ?> 128 <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>131 <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( $title ); ?>" rel="bookmark"><?php the_post_thumbnail( $thumbnail_size ); ?></a> 129 132 <?php 130 133 } … … 157 160 $class = ''; 158 161 } 162 163 /* translators: %s: post title */ 164 $title = sprintf( __( 'Featuring: %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); 159 165 ?> 160 <li><a href="#featured-post-<?php echo esc_attr( $counter_slider ); ?>" title="<?php echo esc_attr( sprintf( __( 'Featuring: %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) )); ?>"<?php echo $class; ?>></a></li>166 <li><a href="#featured-post-<?php echo esc_attr( $counter_slider ); ?>" title="<?php echo esc_attr( $title ); ?>"<?php echo $class; ?>></a></li> 161 167 <?php endwhile; ?> 162 168 </ul>
Note: See TracChangeset
for help on using the changeset viewer.