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
This commit is contained in:
desrosj 2022-08-11 14:46:09 +00:00
parent 1cf5a0351f
commit e539bb94dc
13 changed files with 34 additions and 17 deletions

View File

@ -7,7 +7,8 @@
* @since Twenty Nineteen 1.0
*/
if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
if ( is_active_sidebar( 'sidebar-1' ) ) :
?>
<aside class="widget-area" aria-label="<?php esc_attr_e( 'Footer', 'twentynineteen' ); ?>">
<?php
@ -21,4 +22,5 @@ if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
?>
</aside><!-- .widget-area -->
<?php endif; ?>
<?php
endif;

View File

@ -11,7 +11,9 @@ $discussion = ! is_page() && twentynineteen_can_show_post_thumbnail() ? twentyni
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
<?php if ( ! is_page() ) : ?>
<?php
if ( ! is_page() ) :
?>
<div class="entry-meta">
<?php twentynineteen_posted_by(); ?>
<?php twentynineteen_posted_on(); ?>
@ -43,4 +45,5 @@ $discussion = ! is_page() && twentynineteen_can_show_post_thumbnail() ? twentyni
);
?>
</div><!-- .entry-meta -->
<?php endif; ?>
<?php
endif;

View File

@ -7,7 +7,8 @@
* @since Twenty Nineteen 1.0
*/
if ( (bool) get_the_author_meta( 'description' ) ) : ?>
if ( (bool) get_the_author_meta( 'description' ) ) :
?>
<div class="author-bio">
<h2 class="author-title">
<span class="author-heading">
@ -27,4 +28,5 @@ if ( (bool) get_the_author_meta( 'description' ) ) : ?>
</a>
</p><!-- .author-description -->
</div><!-- .author-bio -->
<?php endif; ?>
<?php
endif;

View File

@ -32,4 +32,5 @@ if ( is_active_sidebar( 'sidebar-2' ) ||
<?php } ?>
</aside><!-- .widget-area -->
<?php endif; ?>
<?php
endif;

View File

@ -31,4 +31,5 @@ get_header();
<?php get_template_part( 'template-parts/footer-menus-widgets' ); ?>
<?php get_footer(); ?>
<?php
get_footer();

View File

@ -7,7 +7,8 @@
* @since Twenty Twenty 1.0
*/
if ( (bool) get_the_author_meta( 'description' ) && (bool) get_theme_mod( 'show_author_bio', true ) ) : ?>
if ( (bool) get_the_author_meta( 'description' ) && (bool) get_theme_mod( 'show_author_bio', true ) ) :
?>
<div class="author-bio">
<div class="author-title-wrapper">
<div class="author-avatar vcard">
@ -30,4 +31,5 @@ if ( (bool) get_the_author_meta( 'description' ) && (bool) get_theme_mod( 'show_
</a>
</div><!-- .author-description -->
</div><!-- .author-bio -->
<?php endif; ?>
<?php
endif;

View File

@ -116,4 +116,5 @@ if ( $has_footer_menu || $has_social_menu || $has_sidebar_1 || $has_sidebar_2 )
</div><!-- .footer-nav-widgets-wrapper -->
<?php } ?>
<?php
}

View File

@ -30,4 +30,5 @@ get_header();
<?php get_template_part( 'template-parts/footer-menus-widgets' ); ?>
<?php get_footer(); ?>
<?php
get_footer();

View File

@ -34,4 +34,5 @@ $description = get_the_archive_description();
<?php get_template_part( 'template-parts/content/content-none' ); ?>
<?php endif; ?>
<?php get_footer(); ?>
<?php
get_footer();

View File

@ -13,4 +13,5 @@ if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</aside><!-- .widget-area -->
<?php endif; ?>
<?php
endif;

View File

@ -33,4 +33,5 @@
);
?>
</nav><!-- #site-navigation -->
<?php endif; ?>
<?php
endif;

View File

@ -35,4 +35,5 @@
?>
</div><!-- .author-bio-content -->
</div><!-- .author-bio -->
<?php endif; ?>
<?php
endif;

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.1-alpha-53879';
$wp_version = '6.1-alpha-53880';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.