Make WordPress Core


Ignore:
Timestamp:
11/29/2022 03:49:49 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Always use parentheses when instantiating an object.

Note: This will be enforced by WPCS 3.0.0.

Props jrf.
See #56791.

File:
1 edited

Legend:

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

    r54488 r54891  
    22392239
    22402240    if ( empty( $parsed_args['walker'] ) ) {
    2241         $walker = new Walker_Comment;
     2241        $walker = new Walker_Comment();
    22422242    } else {
    22432243        $walker = $parsed_args['walker'];
Note: See TracChangeset for help on using the changeset viewer.