Make WordPress Core


Ignore:
Timestamp:
08/15/2018 06:22:00 AM (6 years ago)
Author:
pento
Message:

Coding Standards: Prepare for upgrading WPCS to 1.0.0.

In order to get the best result when running phpcbf across the codebase, there are some manual tweaks we need to make.

These fall into three categories:

  • Fixing incorrectly indented code which has flow-on effects when auto-fixing.
  • Tweaking the layout of inline PHP inside HTML tags.
  • Moving more complex inline PHP inside HTML tags, to execute earlier.

See #44600.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r43542 r43569  
    257257    ?>
    258258    <p id="backtoblog"><a href="<?php echo esc_url( home_url( '/' ) ); ?>">
    259                                             <?php
    260                                             /* translators: %s: site title */
    261                                             printf( _x( '&larr; Back to %s', 'site' ), get_bloginfo( 'title', 'display' ) );
     259    <?php
     260        /* translators: %s: site title */
     261        printf( _x( '&larr; Back to %s', 'site' ), get_bloginfo( 'title', 'display' ) );
    262262    ?>
    263263    </a></p>
Note: See TracChangeset for help on using the changeset viewer.