Make WordPress Core


Ignore:
Timestamp:
10/04/2015 08:50:48 PM (9 years ago)
Author:
jeremyfelt
Message:

MS: Populate site_name property in a new WP_Network.

This allows us to reduce some extra handling in ms-settings.php. Requires [34777].

Props johnjamesjacoby for the initial patch.
See #31985.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-settings.php

    r34778 r34819  
    222222}
    223223
    224 if ( empty( $current_site->site_name ) ) {
    225     $current_site->site_name = get_network_option( 'site_name' );
    226     if ( ! $current_site->site_name ) {
    227         $current_site->site_name = ucfirst( $current_site->domain );
    228     }
    229 }
    230 
    231224// Define upload directory constants
    232225ms_upload_constants();
Note: See TracChangeset for help on using the changeset viewer.