Skip to:
Content

bbPress.org


Ignore:
Timestamp:
09/09/2014 07:31:39 PM (12 years ago)
Author:
johnjamesjacoby
Message:

Pass $topic_id and $forum_id to relevant favorites and subscriptions filters. Hat tip DJPaul. Fixes #2651.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/users/functions.php

    r5466 r5486  
    190190        }
    191191
    192         return apply_filters( 'bbp_get_topic_favoriters', $users );
     192        return apply_filters( 'bbp_get_topic_favoriters', $users, $topic_id );
    193193}
    194194
     
    504504        }
    505505
    506         return apply_filters( 'bbp_get_forum_subscribers', $users );
     506        return apply_filters( 'bbp_get_forum_subscribers', $users, $forum_id );
    507507}
    508508
     
    532532        }
    533533
    534         return apply_filters( 'bbp_get_topic_subscribers', $users );
     534        return apply_filters( 'bbp_get_topic_subscribers', $users, $topic_id );
    535535}
    536536
Note: See TracChangeset for help on using the changeset viewer.