Make WordPress Core


Ignore:
Timestamp:
08/11/2022 02:44:45 PM (2 years ago)
Author:
desrosj
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/template-parts/entry-author-bio.php

    r47122 r53880  
    88 */
    99
    10 if ( (bool) get_the_author_meta( 'description' ) && (bool) get_theme_mod( 'show_author_bio', true ) ) : ?>
     10if ( (bool) get_the_author_meta( 'description' ) && (bool) get_theme_mod( 'show_author_bio', true ) ) :
     11    ?>
    1112<div class="author-bio">
    1213    <div class="author-title-wrapper">
     
    3132    </div><!-- .author-description -->
    3233</div><!-- .author-bio -->
    33 <?php endif; ?>
     34    <?php
     35endif;
Note: See TracChangeset for help on using the changeset viewer.