Skip to:
Content

BuddyPress.org

Ticket #4516: 4516.001.patch

File 4516.001.patch, 637 bytes (added by DJPaul, 12 years ago)
  • bp-core/bp-core-catchuri.php

    function bp_core_set_uri_globals() { 
    136136        // Keep the unfiltered URI safe
    137137        $bp->unfiltered_uri = $bp_uri;
    138138
     139        // Don't use $bp_unfiltered_uri, this is only for backpat with old plugins. Use $bp->unfiltered_uri.
     140        $GLOBALS['bp_unfiltered_uri'] =& $bp_uri;
     141
    139142        // Get slugs of pages into array
    140143        foreach ( (array) $bp->pages as $page_key => $bp_page )
    141144                $key_slugs[$page_key] = trailingslashit( '/' . $bp_page->slug );