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-admin/includes/class-language-pack-upgrader.php

    r53131 r54891  
    6363         * Noted: this is not the ideal way to accomplish this.
    6464         */
    65         $check_vcs = new WP_Automatic_Updater;
     65        $check_vcs = new WP_Automatic_Updater();
    6666        if ( $check_vcs->is_vcs_checkout( WP_CONTENT_DIR ) ) {
    6767            return;
Note: See TracChangeset for help on using the changeset viewer.