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-rss2-comments.php

    r45247 r45590  
    7474        while ( have_comments() ) :
    7575            the_comment();
    76             $comment_post = $GLOBALS['post'] = get_post( $comment->comment_post_ID );
     76            $comment_post    = get_post( $comment->comment_post_ID );
     77            $GLOBALS['post'] = $comment_post;
    7778            ?>
    7879            <item>
Note: See TracChangeset for help on using the changeset viewer.