Ticket #28251: 28251.2.diff
| File 28251.2.diff, 1.3 KB (added by , 12 years ago) |
|---|
-
src/wp-content/themes/twentyfourteen/image.php
28 28 29 29 <span class="entry-date"><time class="entry-date" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>"><?php echo esc_html( get_the_date() ); ?></time></span> 30 30 31 <span class="full-size-link"><a href="<?php echo wp_get_attachment_url(); ?>"><?php echo $metadata['width']; ?> × <?php echo $metadata['height']; ?></a></span>31 <span class="full-size-link"><a href="<?php echo esc_url( wp_get_attachment_url() ); ?>"><?php echo $metadata['width']; ?> × <?php echo $metadata['height']; ?></a></span> 32 32 33 <span class="parent-post-link"><a href="<?php echo get_permalink( $post->post_parent); ?>" rel="gallery"><?php echo get_the_title( $post->post_parent ); ?></a></span>33 <span class="parent-post-link"><a href="<?php echo esc_url( get_permalink( $post->post_parent ) ); ?>" rel="gallery"><?php echo get_the_title( $post->post_parent ); ?></a></span> 34 34 <?php edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' ); ?> 35 35 </div><!-- .entry-meta --> 36 36 </header><!-- .entry-header -->