Ticket #4516: 4516.001.patch
File 4516.001.patch, 637 bytes (added by , 12 years ago) |
---|
-
bp-core/bp-core-catchuri.php
function bp_core_set_uri_globals() { 136 136 // Keep the unfiltered URI safe 137 137 $bp->unfiltered_uri = $bp_uri; 138 138 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 139 142 // Get slugs of pages into array 140 143 foreach ( (array) $bp->pages as $page_key => $bp_page ) 141 144 $key_slugs[$page_key] = trailingslashit( '/' . $bp_page->slug );