Skip to:
Content

BuddyPress.org

Ticket #7308: 7308.patch

File 7308.patch, 669 bytes (added by rudlinkon, 2 years ago)

return from the function if not bp_is_root_blog()

  • src/bp-core/bp-core-filters.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    diff --git a/src/bp-core/bp-core-filters.php b/src/bp-core/bp-core-filters.php
    a b  
    168168 * @return array
    169169 */
    170170function bp_core_menu_highlight_parent_page( $retval, $page ) {
    171         if ( ! is_buddypress() ) {
     171        if ( ! is_buddypress() || ! bp_is_root_blog() ) {
    172172                return $retval;
    173173        }
    174174