Make WordPress Core


Ignore:
Timestamp:
07/02/2019 11:41:16 PM (6 years 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/class-wp-term-query.php

    r45584 r45590  
    772772         */
    773773        if ( ! empty( $args['object_ids'] ) && 'all_with_object_id' != $_fields ) {
    774             $_tt_ids = $_terms = array();
     774            $_tt_ids = array();
     775            $_terms  = array();
    775776            foreach ( $terms as $term ) {
    776777                if ( isset( $_tt_ids[ $term->term_id ] ) ) {
Note: See TracChangeset for help on using the changeset viewer.