From 2e123ad458e5f7f9b519946190409a9571a2a1c8 Mon Sep 17 00:00:00 2001 From: Ian Stewart Date: Thu, 27 Nov 2014 20:34:24 +0000 Subject: [PATCH] Twenty Fifteen: minor corrections to borders and post title colors in custom color schemes. Props iamtakashi, fixes #30521. Built from https://develop.svn.wordpress.org/trunk@30588 git-svn-id: http://core.svn.wordpress.org/trunk@30578 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyfifteen/functions.php | 4 ++-- wp-content/themes/twentyfifteen/inc/customizer.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-content/themes/twentyfifteen/functions.php b/wp-content/themes/twentyfifteen/functions.php index c998b8589e..04edcc97a5 100644 --- a/wp-content/themes/twentyfifteen/functions.php +++ b/wp-content/themes/twentyfifteen/functions.php @@ -265,7 +265,7 @@ function twentyfifteen_post_nav_background() { $prevthumb = wp_get_attachment_image_src( get_post_thumbnail_id( $previous->ID ), 'post-thumbnail' ); $css .= ' .post-navigation .nav-previous { background-image: url(' . esc_url( $prevthumb[0] ) . '); } - .post-navigation .nav-previous .post-title, .post-navigation .nav-previous .meta-nav { color: #fff; } + .post-navigation .nav-previous .post-title, .post-navigation .nav-previous a:hover .post-title, .post-navigation .nav-previous .meta-nav { color: #fff; } .post-navigation .nav-previous a:before { background-color: rgba(0, 0, 0, 0.4); } '; } @@ -274,7 +274,7 @@ function twentyfifteen_post_nav_background() { $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 .post-title, .post-navigation .nav-next .meta-nav { color: #fff; } + .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-content/themes/twentyfifteen/inc/customizer.php b/wp-content/themes/twentyfifteen/inc/customizer.php index 0b70bae7dd..f6b8e7c670 100644 --- a/wp-content/themes/twentyfifteen/inc/customizer.php +++ b/wp-content/themes/twentyfifteen/inc/customizer.php @@ -486,7 +486,7 @@ function twentyfifteen_color_scheme_css_template() { border-color: {{ data.border_color }}; } - .post-navigation .nav-previous:not(.has-post-thumbnail) .nav-next:not(.has-post-thumbnail) { + .post-navigation div + div { border-color: {{ data.border_color }}; } diff --git a/wp-includes/version.php b/wp-includes/version.php index b4f22bdd0f..345879d640 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-beta2-30587'; +$wp_version = '4.1-beta2-30588'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.