WordPress.org

Make WordPress Core

Ticket #22787: 22787.diff

File 22787.diff, 448 bytes (added by nacin, 5 years ago)
  • wp-includes/ms-settings.php

     
    128128$table_prefix = $wpdb->get_blog_prefix();
    129129$_wp_switched_stack = array();
    130130$switched = false;
     131if ( ! isset( $base ) )
     132        $base = $current_site->path;
    131133
    132134// need to init cache again after blog_id is set
    133135wp_start_object_cache();