Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/09/2011 10:58:18 PM (14 years ago)
Author:
boonebgorges
Message:

Cleans up use of BP_x_SLUG, replacing with wrapper functions where possible

File:
1 edited

Legend:

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

    r4630 r4638  
    198198
    199199    // Search doesn't have an associated page, so we check for it separately
    200     if ( !empty( $bp_uri[0] ) && ( BP_SEARCH_SLUG == $bp_uri[0] ) ) {
     200    if ( !empty( $bp_uri[0] ) && ( bp_get_search_slug() == $bp_uri[0] ) ) {
    201201        $matches[]   = 1;
    202202        $match       = new stdClass;
    203203        $match->key  = 'search';
    204         $match->slug = BP_SEARCH_SLUG;
     204        $match->slug = bp_get_search_slug();
    205205    }
    206206
Note: See TracChangeset for help on using the changeset viewer.