WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/02/2019 11:41:16 PM (17 months ago)
Author:
pento
Message:

Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-includes.

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets/class-wp-widget-links.php

    r43571 r45590  
    139139        );
    140140        $link_cats = get_terms( 'link_category' );
    141         if ( ! $limit = intval( $instance['limit'] ) ) {
     141        $limit     = intval( $instance['limit'] );
     142        if ( ! $limit ) {
    142143            $limit = -1;
    143144        }
Note: See TracChangeset for help on using the changeset viewer.