WordPress.org

Make WordPress Core

Ticket #22787: 22787.2.diff

File 22787.2.diff, 580 bytes (added by markjaquith, 17 months ago)

The other half

  • wp-includes/ms-functions.php

     
    540540 * @return array Contains the new site data and error messages. 
    541541 */ 
    542542function wpmu_validate_blog_signup($blogname, $blog_title, $user = '') { 
    543         global $wpdb, $domain, $base, $current_site; 
     543        global $wpdb, $domain, $current_site; 
    544544 
     545        $base = $current_site->path; 
     546 
    545547        $blog_title = strip_tags( $blog_title ); 
    546548        $blog_title = substr( $blog_title, 0, 50 ); 
    547549