Make WordPress Core


Ignore:
Timestamp:
07/01/2019 08:22:31 AM (7 years ago)
Author:
pento
Message:

Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in the default themes.

See #47632

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyeleven/inc/widgets.php

    r44569 r45581  
    7777                }
    7878
    79                 if ( ! $args['number'] = absint( $instance['number'] ) ) {
     79                $args['number'] = absint( $instance['number'] );
     80                if ( ! $args['number'] ) {
    8081                        $args['number'] = 10;
    8182                }
Note: See TracChangeset for help on using the changeset viewer.