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/schema.php

    r54256 r54891  
    10511051     */
    10521052    if ( ! is_multisite() ) {
    1053         $current_site            = new stdClass;
     1053        $current_site            = new stdClass();
    10541054        $current_site->domain    = $domain;
    10551055        $current_site->path      = $path;
Note: See TracChangeset for help on using the changeset viewer.