WordPress.org

Make WordPress Core

Ticket #16201: ms-functions-patch-r23470.diff

File ms-functions-patch-r23470.diff, 703 bytes (added by mackensen, 5 years ago)
  • wp-includes/ms-functions.php

     
    981981
    982982        add_option( 'WPLANG', get_site_option( 'WPLANG' ) );
    983983        update_option( 'blog_public', (int)$meta['public'] );
     984        update_option( 'rewrite_rules', array() );
    984985
    985986        if ( ! is_super_admin( $user_id ) && ! get_user_meta( $user_id, 'primary_blog', true ) )
    986987                update_user_meta( $user_id, 'primary_blog', $blog_id );
     
    19771978                return min( $size, $fileupload_maxk );
    19781979
    19791980        return min( $size, $fileupload_maxk, get_upload_space_available() );
    1980 }
    1981  No newline at end of file
     1981}