Make WordPress Core


Ignore:
Timestamp:
07/02/2019 11:41:16 PM (5 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/category-template.php

    r45580 r45590  
    12241224 */
    12251225function get_the_terms( $post, $taxonomy ) {
    1226     if ( ! $post = get_post( $post ) ) {
     1226    $post = get_post( $post );
     1227    if ( ! $post ) {
    12271228        return false;
    12281229    }
Note: See TracChangeset for help on using the changeset viewer.