Changeset 4172 for trunk/bp-core/bp-core-functions.php
- Timestamp:
- 04/07/2011 08:07:24 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-functions.php
r4141 r4172 522 522 if ( empty( $slug ) ) { 523 523 switch ( $search_which ) { 524 case 'posts': 525 $slug = ''; 526 $var = '/?s='; 527 break; 528 524 529 case 'blogs': 525 530 $slug = bp_is_active( 'blogs' ) ? $bp->blogs->root_slug : ''; … … 541 546 } 542 547 543 if ( empty( $slug ) ) {548 if ( empty( $slug ) && 'posts' != $search_which ) { 544 549 bp_core_redirect( bp_get_root_domain() ); 545 550 return;
Note: See TracChangeset
for help on using the changeset viewer.