WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/26/2017 11:56:25 PM (20 months ago)
Author:
pento
Message:

General: Fix some precision alignment formatting warnings.

The WPCS WordPress.WhiteSpace.PrecisionAlignment rule throws warnings for a bunch of code that will likely cause issues for wpcbf. Fixing these manually beforehand gives us better auto-fixed results later.

See #41057.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/theme-compat/comments.php

    r37985 r42228  
    5757        <div class="alignright"><?php next_comments_link() ?></div>
    5858    </div>
    59  <?php else : // this is displayed if there are no comments so far ?>
     59<?php else : // this is displayed if there are no comments so far ?>
    6060
    6161    <?php if ( comments_open() ) : ?>
    6262        <!-- If comments are open, but there are no comments. -->
    6363
    64      <?php else : // comments are closed ?>
     64    <?php else : // comments are closed ?>
    6565        <!-- If comments are closed. -->
    6666        <p class="nocomments"><?php _e('Comments are closed.'); ?></p>
Note: See TracChangeset for help on using the changeset viewer.