From 0a754627027f3c7c1d8e62f67563b0f10ada841f Mon Sep 17 00:00:00 2001 From: desrosj Date: Mon, 24 May 2021 18:41:55 +0000 Subject: [PATCH] Twenty Twenty: Hide some elements for print that are not useful in that context. This adds the comment count, previous/next posts navigation, and category link list to the list of elements hidden from the print context. Props kjellr, hareesh-pillai, poena. Fixes #50433. Built from https://develop.svn.wordpress.org/trunk@50976 git-svn-id: http://core.svn.wordpress.org/trunk@50585 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwenty/print.css | 4 ++++ wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentytwenty/print.css b/wp-content/themes/twentytwenty/print.css index 0ab0ce9fb8..01a6e873a1 100644 --- a/wp-content/themes/twentytwenty/print.css +++ b/wp-content/themes/twentytwenty/print.css @@ -149,7 +149,11 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272 .footer-social-wrapper, .footer-widgets-outer-wrapper, .header-navigation-wrapper, + .entry-categories, + .post-comment-link.meta-wrapper, .pagination-wrapper, + .pagination-single, + .post-meta-wrapper.post-meta-edit-link-wrapper, .post-meta-wrapper.post-meta-single-bottom, .post-separator, .site-logo img { diff --git a/wp-includes/version.php b/wp-includes/version.php index a3f96270e7..8888d3e43f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-50975'; +$wp_version = '5.8-alpha-50976'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.