Skip to:
Content

bbPress.org

Changeset 2473


Ignore:
Timestamp:
07/15/2010 05:19:20 PM (16 years ago)
Author:
chrishajer
Message:

Add class to super sticky posts. Fixes #1309. Props mr_pelle

Location:
trunk/bb-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-includes/functions.bb-meta.php

    r2472 r2473  
    297297            break;
    298298        case 'version':
    299             return '1.1-alpha-2472'; // Don't filter
     299            return '1.1-alpha-2473'; // Don't filter
    300300            break;
    301301        case 'bb_db_version' :
    302             return '2472'; // Don't filter
     302            return '2473'; // Don't filter
    303303            break;
    304304        case 'html_type':
  • trunk/bb-includes/functions.bb-template.php

    r2471 r2473  
    15701570    if ( 1 == $topic->topic_sticky && ( bb_is_forum() || bb_is_view() ) )
    15711571        $class[] = 'sticky';
    1572     elseif ( 2 == $topic->topic_sticky && ( bb_is_front() || bb_is_forum() ) )
     1572    elseif ( 2 == $topic->topic_sticky && ( bb_is_front() || bb_is_forum() || bb_is_view() ) )
    15731573        $class[] = 'sticky super-sticky';
    15741574    $class = apply_filters( 'topic_class', $class, $topic->topic_id );
Note: See TracChangeset for help on using the changeset viewer.