WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/28/2012 06:03:12 PM (7 years ago)
Author:
ryan
Message:

Initialize to avoid 'Creating default object from empty value' warning in PHP 5.4.4.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/schema.php

    r21551 r21647  
    918918    $wpdb->query( "INSERT INTO $wpdb->sitemeta ( site_id, meta_key, meta_value ) VALUES " . $insert );
    919919
     920    $current_site = new stdClass;
    920921    $current_site->domain = $domain;
    921922    $current_site->path = $path;
Note: See TracChangeset for help on using the changeset viewer.