Wordpress 3.5
[autoinstalls/wordpress.git] / wp-content / themes / twentyeleven / showcase.php
index f5d2a3eeb0a276621a942ddd635fc17eaca61c5a..9bc57fc3b7930fada9686c829119ec0b160a1f8e 100644 (file)
@@ -117,7 +117,7 @@ get_header(); ?>
                                                                else
                                                                        $thumbnail_size = 'small-feature';
                                                                ?>
-                                                               <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>
+                                                               <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>
                                                                <?php
                                                        }
                                                ?>
@@ -147,7 +147,7 @@ get_header(); ?>
                                                        else
                                                                $class = '';
                                        ?>
-                                               <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>
+                                               <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>
                                        <?php endwhile; ?>
                                        </ul>
                                </nav>
@@ -196,7 +196,7 @@ get_header(); ?>
                                        while ( $recent->have_posts() ) : $recent->the_post(); ?>
 
                                                <li 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>
+                                                       <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>
                                                        <span class="comments-link">
                                                                <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?>
                                                        </span>