Twenty Fourteen: remove invalid `rel` attributes from post thumbnail output, and fix a CSS typo. See #25946 and #25325.
git-svn-id: https://develop.svn.wordpress.org/trunk@26694 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
aa65527319
commit
7ee0d2c59c
|
@ -9,7 +9,7 @@
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
<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
|
<?php
|
||||||
// Output the featured image.
|
// Output the featured image.
|
||||||
if ( has_post_thumbnail() ) :
|
if ( has_post_thumbnail() ) :
|
||||||
|
|
|
@ -1036,7 +1036,7 @@ a.post-thumbnail:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
.ie7 .featured-content .post-thumbnail img {
|
.ie7 .featured-content .post-thumbnail img {
|
||||||
position: relative;;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ie7 .featured-content .entry-header {
|
.ie7 .featured-content .entry-header {
|
||||||
|
|
|
@ -194,7 +194,7 @@ function twentyfourteen_post_thumbnail() {
|
||||||
|
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
|
|
||||||
<a class="post-thumbnail" href="<?php the_permalink(); ?>" rel="<?php the_ID(); ?>">
|
<a class="post-thumbnail" href="<?php the_permalink(); ?>">
|
||||||
<?php
|
<?php
|
||||||
if ( ( ! is_active_sidebar( 'sidebar-2' ) || is_page_template( 'page-templates/full-width.php' ) ) ) {
|
if ( ( ! is_active_sidebar( 'sidebar-2' ) || is_page_template( 'page-templates/full-width.php' ) ) ) {
|
||||||
the_post_thumbnail( 'twentyfourteen-full-width' );
|
the_post_thumbnail( 'twentyfourteen-full-width' );
|
||||||
|
|
Loading…
Reference in New Issue