From 6960d5ce124b0c1356b8164c87ba539bc73a56d8 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Thu, 15 Jan 2015 23:03:26 +0000 Subject: [PATCH] Twenty Fifteen: remove border on post navigation when post thumbnail is available. Props jartes, fixes #30918. Built from https://develop.svn.wordpress.org/trunk@31182 git-svn-id: http://core.svn.wordpress.org/trunk@31163 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyfifteen/functions.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/twentyfifteen/functions.php b/wp-content/themes/twentyfifteen/functions.php index 2c4b59f3cb..61dfdcf446 100644 --- a/wp-content/themes/twentyfifteen/functions.php +++ b/wp-content/themes/twentyfifteen/functions.php @@ -266,7 +266,7 @@ function twentyfifteen_post_nav_background() { if ( $next && has_post_thumbnail( $next->ID ) ) { $nextthumb = wp_get_attachment_image_src( get_post_thumbnail_id( $next->ID ), 'post-thumbnail' ); $css .= ' - .post-navigation .nav-next { background-image: url(' . esc_url( $nextthumb[0] ) . '); } + .post-navigation .nav-next { background-image: url(' . esc_url( $nextthumb[0] ) . '); border-top: 0; } .post-navigation .nav-next .post-title, .post-navigation .nav-next a:hover .post-title, .post-navigation .nav-next .meta-nav { color: #fff; } .post-navigation .nav-next a:before { background-color: rgba(0, 0, 0, 0.4); } '; diff --git a/wp-includes/version.php b/wp-includes/version.php index aff202bc12..45cd311315 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31181'; +$wp_version = '4.2-alpha-31182'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.