Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/01/2011 01:05:59 AM (14 years ago)
Author:
boonebgorges
Message:

Don't do sticky logic on user forum pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums/bp-forums-template.php

    r5080 r5083  
    295295    $per_page = isset( $_REQUEST['n'] ) ? intval( $_REQUEST['n'] ) : 20;
    296296
    297     // Unless set otherwise, stickies appear in normal order on the global forum directory
    298     if ( bp_is_directory() && bp_is_forums_component() && !bp_forums_enable_global_directory_stickies() )
     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() )
    299300        $do_stickies = false;
    300301
Note: See TracChangeset for help on using the changeset viewer.