Make WordPress Core

Changeset 23107


Ignore:
Timestamp:
12/06/2012 09:43:52 AM (12 years ago)
Author:
nacin
Message:

Use $current_site->path instead of $base in wpmu_validate_blog_signup(), as $base is now dead. props MarkJaquith. fixes #22787. see #19796.

File:
1 edited

Legend:

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

    r22861 r23107  
    541541 */
    542542function wpmu_validate_blog_signup($blogname, $blog_title, $user = '') {
    543     global $wpdb, $domain, $base, $current_site;
     543    global $wpdb, $domain, $current_site;
     544
     545    $base = $current_site->path;
    544546
    545547    $blog_title = strip_tags( $blog_title );
Note: See TracChangeset for help on using the changeset viewer.