Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/28/2010 03:49:00 PM (16 years ago)
Author:
boonebgorges
Message:

Modifies bp_core_set_uri_globals() to properly catch search requests. Fixes #2710

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-catchuri.php

    r3488 r3490  
    140140                unset( $uri_chunks );
    141141        }
    142 
     142       
     143        // Search doesn't have an associated page, so we check for it separately
     144        if ( BP_SEARCH_SLUG == $bp_uri[0] )
     145                $matches[] = 1;
     146               
    143147        // This is not a BuddyPress page, so just return.
    144148        if ( !isset( $matches ) )
Note: See TracChangeset for help on using the changeset viewer.