Make WordPress Core


Ignore:
Timestamp:
07/01/2019 12:50:14 PM (6 years ago)
Author:
pento
Message:

Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-admin.

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/comment.php

    r42343 r45583  
    105105 */
    106106function get_comment_to_edit( $id ) {
    107     if ( ! $comment = get_comment( $id ) ) {
     107    $comment = get_comment( $id );
     108    if ( ! $comment ) {
    108109        return false;
    109110    }
Note: See TracChangeset for help on using the changeset viewer.