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:
parent
0617feaa30
commit
63c82dd11d
@ -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
Block a user