WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/15/2018 06:22:00 AM (3 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-admin/theme-editor.php

    r42757 r43569  
    297297                        <?php
    298298                        if ( is_writeable( $file ) ) {
    299 ?>
    300 <strong><?php _e( 'Caution:' ); ?></strong><?php } ?>
     299                        ?>
     300                        <strong><?php _e( 'Caution:' ); ?></strong><?php } ?>
    301301                        <?php _e( 'This is a file in your current parent theme.' ); ?>
    302302                    </p>
Note: See TracChangeset for help on using the changeset viewer.