From 73894e612eb533b3ced3d9cb021203a35f3ba11a Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Fri, 14 Dec 2018 21:50:16 +0000 Subject: [PATCH] Twenty Nineteen: Fixes and improvements. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit brings over several changes that occurred upstream in the theme’s GitHub repository into core. - Fixes some minor code quality issues. https://github.com/WordPress/twentynineteen/pull/237 - Fix PHP Warning: Parameter must be an array or an object that implements Countable. https://github.com/WordPress/twentynineteen/pull/661 - Add missing text domain and escaping to comment author text. https://github.com/WordPress/twentynineteen/pull/274 - Remove hyphens rule for cover image text. https://github.com/WordPress/twentynineteen/pull/691 Props khleomix, grapplerulrich, iCaleb, kjellr, allancole. See #45424. git-svn-id: https://develop.svn.wordpress.org/branches/5.0@44199 602fd350-edb4-49c9-b593-d223f7449a82 --- .../class-twentynineteen-walker-comment.php | 58 ++++++++++--------- .../themes/twentynineteen/comments.php | 50 ++++++++-------- .../themes/twentynineteen/header.php | 2 +- .../twentynineteen/sass/blocks/_blocks.scss | 4 -- .../themes/twentynineteen/style-rtl.css | 4 -- .../themes/twentynineteen/style.css | 4 -- .../template-parts/post/author-bio.php | 11 +++- .../template-parts/post/discussion-meta.php | 1 - 8 files changed, 67 insertions(+), 67 deletions(-) diff --git a/src/wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php b/src/wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php index a6e0c345d1f6..51dc15c44a83 100644 --- a/src/wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php +++ b/src/wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php @@ -33,36 +33,42 @@ protected function html5_comment( $comment, $depth, $args ) {