]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentyeleven/content-image.php
Wordpress 3.5
[autoinstalls/wordpress.git] / wp-content / themes / twentyeleven / content-image.php
index c26eb637dc88ca64b19677aacf8ee90a7f9dc42a..e5973f98e89d3365261035609bdb5aa76ec93be0 100644 (file)
@@ -12,7 +12,7 @@
        <article id="post-<?php the_ID(); ?>" <?php post_class( 'indexed' ); ?>>
                <header class="entry-header">
                        <hgroup>
        <article id="post-<?php the_ID(); ?>" <?php post_class( 'indexed' ); ?>>
                <header class="entry-header">
                        <hgroup>
-                               <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>
+                               <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>
                                <h3 class="entry-format"><?php _e( 'Image', 'twentyeleven' ); ?></h3>
                        </hgroup>
 
                                <h3 class="entry-format"><?php _e( 'Image', 'twentyeleven' ); ?></h3>
                        </hgroup>
 
@@ -31,7 +31,7 @@
                <footer class="entry-meta">
                        <div class="entry-meta">
                                <?php
                <footer class="entry-meta">
                        <div class="entry-meta">
                                <?php
-                                       printf( __( '<a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s" pubdate>%3$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s" rel="author">%6$s</a></span></span>', 'twentyeleven' ),
+                                       printf( __( '<a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s" rel="author">%6$s</a></span></span>', 'twentyeleven' ),
                                                esc_url( get_permalink() ),
                                                get_the_date( 'c' ),
                                                get_the_date(),
                                                esc_url( get_permalink() ),
                                                get_the_date( 'c' ),
                                                get_the_date(),
@@ -66,5 +66,5 @@
                        </div><!-- .entry-meta -->
 
                        <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
                        </div><!-- .entry-meta -->
 
                        <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
-               </footer><!-- #entry-meta -->
+               </footer><!-- .entry-meta -->
        </article><!-- #post-<?php the_ID(); ?> -->
        </article><!-- #post-<?php the_ID(); ?> -->