Skip to:
Content

bbPress.org

Changeset 4515


Ignore:
Timestamp:
11/24/2012 11:04:42 PM (9 years ago)
Author:
johnjamesjacoby
Message:

Pass more variables into freshness link filters. Props jbobich. Fixes #1983.

Location:
trunk/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/forums/template-tags.php

    r4508 r4515  
    535535            $anchor = __( 'No Topics', 'bbpress' );
    536536
    537         return apply_filters( 'bbp_get_forum_freshness_link', $anchor, $forum_id );
     537        return apply_filters( 'bbp_get_forum_freshness_link', $anchor, $forum_id, $time_since, $link_url, $title, $active_id );
    538538    }
    539539
  • trunk/includes/topics/template-tags.php

    r4508 r4515  
    18331833            $anchor = __( 'No Replies', 'bbpress' );
    18341834
    1835         return apply_filters( 'bbp_get_topic_freshness_link', $anchor, $topic_id );
     1835        return apply_filters( 'bbp_get_topic_freshness_link', $anchor, $topic_id, $time_since, $link_url, $title );
    18361836    }
    18371837
Note: See TracChangeset for help on using the changeset viewer.