From e539bb94dc24d6daf0fc5342fbad60b1cb27fd33 Mon Sep 17 00:00:00 2001 From: desrosj Date: Thu, 11 Aug 2022 14:46:09 +0000 Subject: [PATCH] Bundled Themes: Remove closing PHP tag at the end of files. To help avoid issues with trailing whitespace, omitting the closing PHP tag at the end of a file is preferred. Props netweb, dd32, yahil, milindmore22, vishalkakadiya, NomNom99, manishsongirkar36, sabernhardt, audrasjb, desrosj. See #40039. Built from https://develop.svn.wordpress.org/trunk@53880 git-svn-id: http://core.svn.wordpress.org/trunk@53439 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../template-parts/footer/footer-widgets.php | 6 ++++-- .../twentynineteen/template-parts/header/entry-header.php | 7 +++++-- .../twentynineteen/template-parts/post/author-bio.php | 6 ++++-- .../template-parts/footer/footer-widgets.php | 3 ++- wp-content/themes/twentytwenty/singular.php | 3 ++- .../twentytwenty/template-parts/entry-author-bio.php | 6 ++++-- .../twentytwenty/template-parts/footer-menus-widgets.php | 3 ++- .../themes/twentytwenty/templates/template-cover.php | 3 ++- wp-content/themes/twentytwentyone/archive.php | 3 ++- .../template-parts/footer/footer-widgets.php | 3 ++- .../twentytwentyone/template-parts/header/site-nav.php | 3 ++- .../twentytwentyone/template-parts/post/author-bio.php | 3 ++- wp-includes/version.php | 2 +- 13 files changed, 34 insertions(+), 17 deletions(-) diff --git a/wp-content/themes/twentynineteen/template-parts/footer/footer-widgets.php b/wp-content/themes/twentynineteen/template-parts/footer/footer-widgets.php index 992fb46fc7..6471fc8270 100644 --- a/wp-content/themes/twentynineteen/template-parts/footer/footer-widgets.php +++ b/wp-content/themes/twentynineteen/template-parts/footer/footer-widgets.php @@ -7,7 +7,8 @@ * @since Twenty Nineteen 1.0 */ -if ( is_active_sidebar( 'sidebar-1' ) ) : ?> +if ( is_active_sidebar( 'sidebar-1' ) ) : + ?> - + ', '' ); ?> - +
@@ -43,4 +45,5 @@ $discussion = ! is_page() && twentynineteen_can_show_post_thumbnail() ? twentyni ); ?>
- + +if ( (bool) get_the_author_meta( 'description' ) ) : + ?>

@@ -27,4 +28,5 @@ if ( (bool) get_the_author_meta( 'description' ) ) : ?>

- + - + - + +if ( (bool) get_the_author_meta( 'description' ) && (bool) get_theme_mod( 'show_author_bio', true ) ) : + ?>
@@ -30,4 +31,5 @@ if ( (bool) get_the_author_meta( 'description' ) && (bool) get_theme_mod( 'show_
- + - + - + - + - + - +
- +