Skip to:
Content

BuddyPress.org

Ticket #5353: 5353.diff

File 5353.diff, 551 bytes (added by imath, 8 years ago)
  • bp-core/bp-core-catchuri.php

     
    135135        // Keep the unfiltered URI safe
    136136        $bp->unfiltered_uri = $bp_uri;
    137137
     138        // Make sure uri parts are in lowercase
     139        $bp_uri = array_map( 'strtolower', (array) $bp_uri );
     140
    138141        // Don't use $bp_unfiltered_uri, this is only for backpat with old plugins. Use $bp->unfiltered_uri.
    139142        $GLOBALS['bp_unfiltered_uri'] = &$bp->unfiltered_uri;
    140143