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/feed-atom-comments.php

    r45247 r45590  
    7171    while ( have_comments() ) :
    7272        the_comment();
    73         $comment_post = $GLOBALS['post'] = get_post( $comment->comment_post_ID );
     73        $comment_post    = get_post( $comment->comment_post_ID );
     74        $GLOBALS['post'] = $comment_post;
    7475        ?>
    7576    <entry>
Note: See TracChangeset for help on using the changeset viewer.