WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/26/2017 11:56:25 PM (22 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-admin/term.php

    r40655 r42228  
    3232
    3333if ( ! in_array( $taxonomy, get_taxonomies( array( 'show_ui' => true ) ) ) ||
    34      ! current_user_can( 'edit_term', $tag->term_id )
    35 ) {
     34    ! current_user_can( 'edit_term', $tag->term_id ) ) {
     35
    3636    wp_die(
    3737        '<h1>' . __( 'Cheatin&#8217; uh?' ) . '</h1>' .
Note: See TracChangeset for help on using the changeset viewer.