mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 07:07:38 +02:00
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(); ?>>
|
||||
<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() ) :
|
||||
|
@ -1036,7 +1036,7 @@ a.post-thumbnail:hover {
|
||||
}
|
||||
|
||||
.ie7 .featured-content .post-thumbnail img {
|
||||
position: relative;;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.ie7 .featured-content .entry-header {
|
||||
|
@ -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' );
|
||||
|
Loading…
Reference in New Issue
Block a user