Skip to:
Content

BuddyPress.org

Ticket #8890: 8890-bp-core-catchuri.diff

File 8890-bp-core-catchuri.diff, 450 bytes (added by viralsampat, 3 years ago)

I have checked above mentioned issue and founds few files. Here, I have added its patch.

  • 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 5c00b9c0c..70e8826f3 100644
    a b defined( 'ABSPATH' ) || exit; 
    3131 *    - $bp->action_variables: array ['group', 5]
    3232 *
    3333 * @since 1.0.0
     34 *
     35 * @global $current_blog.
     36 * @global $wp_rewrite.
    3437 */
    3538function bp_core_set_uri_globals() {
    3639        global $current_blog, $wp_rewrite;