Skip to:
Content

BuddyPress.org

Ticket #8429: 8429.diff

File 8429.diff, 474 bytes (added by hasanuzzamanshamim, 22 months ago)

Hi, I am also looking for something like this then found this ticket. It would be nice if you decided to add this. I created a patch as you mentioned earlier.

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

    diff --git a/src/bp-core/bp-core-catchuri.php b/src/bp-core/bp-core-catchuri.php
    index 2eb020478..63cbdb6a0 100644
    a b function bp_core_set_uri_globals() { 
    248248        }
    249249
    250250        // This is not a BuddyPress page, so just return.
    251         if ( empty( $matches ) )
     251        if ( empty( $matches ) ) {
     252                do_action( 'is_not_buddypress' );
    252253                return false;
     254        }
    253255
    254256        $wp_rewrite->use_verbose_page_rules = false;
    255257