WordPress.org

Make WordPress Core

Changeset 50806


Ignore:
Timestamp:
05/03/2021 02:33:21 PM (5 months ago)
Author:
SergeyBiryukov
Message:

Twenty Twenty-One: Fix "Opening PHP tag must be on a line by itself" WPCS issue.

Follow-up to [50802].

See #52938.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyone/index.php

    r50802 r50806  
    1717get_header(); ?>
    1818
    19 <?php if ( is_home() && ! is_front_page() && ! empty( single_post_title( '', false ) ) ) { ?>
     19<?php if ( is_home() && ! is_front_page() && ! empty( single_post_title( '', false ) ) ) : ?>
    2020    <header class="page-header alignwide">
    2121        <h1 class="page-title"><?php single_post_title(); ?></h1>
    2222    </header><!-- .page-header -->
    23 <?php }
     23<?php endif; ?>
    2424
     25<?php
    2526if ( have_posts() ) {
    2627
Note: See TracChangeset for help on using the changeset viewer.