From 64d313dd26593221b89afd79b58d1754575c8db7 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Thu, 15 Jun 2017 08:57:45 -0400 Subject: Update twentyfifteen 1.8 Signed-off-by: Anthony G. Basile --- themes/twentyfifteen/inc/template-tags.php | 2 +- themes/twentyfifteen/readme.txt | 9 +++++++-- themes/twentyfifteen/rtl.css | 5 +++++ themes/twentyfifteen/style.css | 7 ++++++- 4 files changed, 19 insertions(+), 4 deletions(-) (limited to 'themes') diff --git a/themes/twentyfifteen/inc/template-tags.php b/themes/twentyfifteen/inc/template-tags.php index fb6004ec..f4de1d58 100644 --- a/themes/twentyfifteen/inc/template-tags.php +++ b/themes/twentyfifteen/inc/template-tags.php @@ -150,7 +150,7 @@ function twentyfifteen_categorized_blog() { set_transient( 'twentyfifteen_categories', $all_the_cool_cats ); } - if ( $all_the_cool_cats > 1 ) { + if ( $all_the_cool_cats > 1 || is_preview() ) { // This blog has more than 1 category so twentyfifteen_categorized_blog should return true. return true; } else { diff --git a/themes/twentyfifteen/readme.txt b/themes/twentyfifteen/readme.txt index 8ca82808..04b717d7 100644 --- a/themes/twentyfifteen/readme.txt +++ b/themes/twentyfifteen/readme.txt @@ -1,8 +1,8 @@ === Twenty Fifteen === Contributors: the WordPress team Requires at least: WordPress 4.1 -Tested up to: WordPress 4.8-trunk -Version: 1.7 +Tested up to: WordPress 4.9-trunk +Version: 1.8 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: blog, two-columns, left-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready @@ -55,6 +55,11 @@ Source: http://www.genericons.com == Changelog == += 1.8 = +* Released: June 8, 2017 + +https://codex.wordpress.org/Twenty_Fifteen_Theme_Changelog#Version_1.8 + = 1.7 = * Released: December 6, 2016 diff --git a/themes/twentyfifteen/rtl.css b/themes/twentyfifteen/rtl.css index 809504a5..3c1079d0 100644 --- a/themes/twentyfifteen/rtl.css +++ b/themes/twentyfifteen/rtl.css @@ -288,6 +288,11 @@ img.alignleft { margin: 0.7667em 0.8em 0 0; } +.textwidget ul, +.textwidget ol { + margin-left: 0; + margin-right: 1.6em; +} /** * 10.0 Content diff --git a/themes/twentyfifteen/style.css b/themes/twentyfifteen/style.css index 13048ba9..a30fa960 100644 --- a/themes/twentyfifteen/style.css +++ b/themes/twentyfifteen/style.css @@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentyfifteen/ Author: the WordPress team Author URI: https://wordpress.org/ Description: Our 2015 default theme is clean, blog-focused, and designed for clarity. Twenty Fifteen's simple, straightforward typography is readable on a wide variety of screen sizes, and suitable for multiple languages. We designed it using a mobile-first approach, meaning your content takes center-stage, regardless of whether your visitors arrive by smartphone, tablet, laptop, or desktop computer. -Version: 1.7 +Version: 1.8 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: blog, two-columns, left-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready @@ -1554,6 +1554,11 @@ img.aligncenter { border-bottom: 0; } +.textwidget ul, +.textwidget ol { + margin-left: 1.6em; +} + /** * 12.0 Content -- cgit v1.2.3-65-gdbad