Skip to:
Content

BuddyPress.org

Changeset 14182


Ignore:
Timestamp:
12/29/2025 05:30:59 PM (2 months ago)
Author:
espellcaste
Message:

Stop (root blog) BuddyPress directories from showing in the WP Dropdown\s

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/14.0/src/bp-core/bp-core-filters.php

    r13904 r14182  
    963963    // Prevent duplicate "page on front" option values when the 'legacy' BuddyPress URL Parser is in use.
    964964    if ( 'rewrites' !== bp_core_get_query_parser() ) {
     965        return $pages;
     966    }
     967
     968    // BP pages are only relevant on the root blog in multisite.
     969    if ( ! bp_is_root_blog() ) {
    965970        return $pages;
    966971    }
Note: See TracChangeset for help on using the changeset viewer.