Make WordPress Core


Ignore:
Timestamp:
11/29/2022 03:49:49 PM (17 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-includes/l10n.php

    r54855 r54891  
    13071307    static $noop_translations = null;
    13081308    if ( null === $noop_translations ) {
    1309         $noop_translations = new NOOP_Translations;
     1309        $noop_translations = new NOOP_Translations();
    13101310    }
    13111311
Note: See TracChangeset for help on using the changeset viewer.