Make WordPress Core


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

    r54748 r54891  
    26182618function get_alloptions_110() {
    26192619    global $wpdb;
    2620     $all_options = new stdClass;
     2620    $all_options = new stdClass();
    26212621    $options     = $wpdb->get_results( "SELECT option_name, option_value FROM $wpdb->options" );
    26222622    if ( $options ) {
Note: See TracChangeset for help on using the changeset viewer.