Skip to:
Content

bbPress.org

Changeset 6034


Ignore:
Timestamp:
05/30/2016 04:12:16 AM (5 years ago)
Author:
netweb
Message:

Subscriptions: Update bbp_new_reply action to to use bbp_notify_topic_subscribers over deprecated bbp_notify_subscribers.

Previously in [5643] this was added to the 2.5 branch but was overlooked for /trunk, this changeset fixes that.

Props thebrandonallen
Fixes #2946, see also #2618

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/core/actions.php

    r5909 r6034  
    230230add_action( 'bbp_trash_forum',  'bbp_remove_forum_from_all_subscriptions'       );
    231231add_action( 'bbp_delete_forum', 'bbp_remove_forum_from_all_subscriptions'       );
    232 add_action( 'bbp_new_reply',    'bbp_notify_subscribers',                 11, 5 );
     232add_action( 'bbp_new_reply',    'bbp_notify_topic_subscribers',           11, 5 );
    233233add_action( 'bbp_new_topic',    'bbp_notify_forum_subscribers',           11, 4 );
    234234
Note: See TracChangeset for help on using the changeset viewer.