WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/26/2017 11:56:25 PM (2 years 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/includes/bookmark.php

    r37914 r42228  
    278278
    279279    // Passed link category list overwrites existing category list if not empty.
    280     if ( isset( $linkdata['link_category'] ) && is_array( $linkdata['link_category'] )
    281              && 0 != count( $linkdata['link_category'] ) )
     280    if ( isset( $linkdata['link_category'] ) && is_array( $linkdata['link_category'] ) && 0 != count( $linkdata['link_category'] ) )
    282281        $link_cats = $linkdata['link_category'];
    283282    else
Note: See TracChangeset for help on using the changeset viewer.