Skip to:
Content

BuddyPress.org

Ticket #3277: 3277.diff

File 3277.diff, 653 bytes (added by wpmuguru, 13 years ago)
  • bp-core/bp-core-catchuri.php

     
    6666                if ( empty( $bp_uri[$key] ) ) unset( $bp_uri[$key] );
    6767
    6868        // Running off blog other than root
    69         if ( is_multisite() && ( defined( 'BP_ENABLE_MULTIBLOG' ) || 1 != BP_ROOT_BLOG ) ) {
     69        if ( is_multisite() && !is_subdomain_install() && ( defined( 'BP_ENABLE_MULTIBLOG' ) || 1 != BP_ROOT_BLOG ) ) {
    7070
    7171                // Any subdirectory names must be removed from $bp_uri.
    7272                // This includes two cases: (1) when WP is installed in a subdirectory,