Changeset 4088 for trunk/bp-forums/bp-forums-template.php
- Timestamp:
- 03/08/2011 06:35:03 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-template.php
r4012 r4088 240 240 241 241 // If $_GET['fs'] is set, let's auto populate the search_terms var 242 if ( isset( $bp->is_directory) && !empty( $_GET['fs'] ) )242 if ( bp_is_directory() && !empty( $_GET['fs'] ) ) 243 243 $search_terms = $_GET['fs']; 244 244 … … 713 713 global $bp; 714 714 715 if ( ! $bp->is_directory|| !$bp->current_action )715 if ( !bp_is_directory() || !$bp->current_action ) 716 716 return 'newest'; 717 717 … … 726 726 global $bp; 727 727 728 if ( $bp->is_directory&& $bp->forums->slug == $bp->current_component )728 if ( bp_is_directory() && $bp->forums->slug == $bp->current_component ) 729 729 return apply_filters( 'bp_get_forums_tag_name', $bp->action_variables[0] ); 730 730 }
Note: See TracChangeset
for help on using the changeset viewer.