Make WordPress Core


Ignore:
Timestamp:
11/29/2022 03:49:49 PM (23 months 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-admin/includes/ajax-actions.php

    r54524 r54891  
    15711571            'link_after'  => '',
    15721572            'link_before' => '',
    1573             'walker'      => new $walker_class_name,
     1573            'walker'      => new $walker_class_name(),
    15741574        );
    15751575
Note: See TracChangeset for help on using the changeset viewer.