Changeset 5089
- Timestamp:
- 09/01/2011 02:01:22 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-template.php
r5085 r5089 260 260 $forum_id = false; 261 261 $search_terms = false; 262 $do_stickies = true;262 $do_stickies = false; 263 263 264 264 // User filtering … … 295 295 $per_page = isset( $_REQUEST['n'] ) ? intval( $_REQUEST['n'] ) : 20; 296 296 297 // Unless set otherwise, stickies appear in normal order on the global forum directory and 298 // on individual user topic pages 299 if ( ( bp_is_directory() && bp_is_forums_component() && !bp_forums_enable_global_directory_stickies() ) || bp_is_user() ) 300 $do_stickies = false; 297 // By default, stickies are only pushed to the top of the order on individual group forums 298 if ( bp_is_group_forum() ) 299 $do_stickies = true; 301 300 302 301 $defaults = array(
Note: See TracChangeset
for help on using the changeset viewer.