Twenty Fourteen: remove invalid rel attributes from post thumbnail output, and fix a CSS typo. See #25946 and #25325.

Built from https://develop.svn.wordpress.org/trunk@26694


git-svn-id: http://core.svn.wordpress.org/trunk@26584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2013-12-05 22:09:10 +00:00
parent 0617feaa30
commit 63c82dd11d
3 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<a class="post-thumbnail" href="<?php the_permalink(); ?>" rel="<?php the_ID(); ?>">
<a class="post-thumbnail" href="<?php the_permalink(); ?>">
<?php
// Output the featured image.
if ( has_post_thumbnail() ) :

View File

@ -1036,7 +1036,7 @@ a.post-thumbnail:hover {
}
.ie7 .featured-content .post-thumbnail img {
position: relative;;
position: relative;
}
.ie7 .featured-content .entry-header {

View File

@ -194,7 +194,7 @@ function twentyfourteen_post_thumbnail() {
<?php else : ?>
<a class="post-thumbnail" href="<?php the_permalink(); ?>" rel="<?php the_ID(); ?>">
<a class="post-thumbnail" href="<?php the_permalink(); ?>">
<?php
if ( ( ! is_active_sidebar( 'sidebar-2' ) || is_page_template( 'page-templates/full-width.php' ) ) ) {
the_post_thumbnail( 'twentyfourteen-full-width' );