Changeset 6616
- Timestamp:
- 07/04/2017 05:43:05 PM (8 years ago)
- Location:
- trunk/src/includes
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/metaboxes.php
r6573 r6616 746 746 747 747 // Get user IDs 748 $user_ids = bbp_get_ topic_subscribers( $post->ID );748 $user_ids = bbp_get_subscribers( $post->ID ); 749 749 750 750 // Output … … 782 782 783 783 // Get user IDs 784 $user_ids = bbp_get_ forum_subscribers( $post->ID );784 $user_ids = bbp_get_subscribers( $post->ID ); 785 785 786 786 // Output -
trunk/src/includes/common/functions.php
r6614 r6616 1040 1040 /** Topic *****************************************************************/ 1041 1041 1042 // Bail if topic is not publi shed1043 if ( ! bbp_is_topic_publi shed( $topic_id ) ) {1042 // Bail if topic is not public (includes closed) 1043 if ( ! bbp_is_topic_public( $topic_id ) ) { 1044 1044 return false; 1045 1045 } … … 1058 1058 1059 1059 // Get topic subscribers and bail if empty 1060 $user_ids = bbp_get_ topic_subscribers( $topic_id, true);1060 $user_ids = bbp_get_subscribers( $topic_id ); 1061 1061 1062 1062 // Dedicated filter to manipulate user ID's to send emails to … … 1200 1200 /** Topic *****************************************************************/ 1201 1201 1202 // Bail if topic is not publi shed1203 if ( ! bbp_is_topic_publi shed( $topic_id ) ) {1202 // Bail if topic is not public (includes closed) 1203 if ( ! bbp_is_topic_public( $topic_id ) ) { 1204 1204 return false; 1205 1205 } … … 1211 1211 1212 1212 // Get topic subscribers and bail if empty 1213 $user_ids = bbp_get_ forum_subscribers( $forum_id, true);1213 $user_ids = bbp_get_subscribers( $forum_id ); 1214 1214 1215 1215 // Dedicated filter to manipulate user ID's to send emails to -
trunk/src/includes/topics/functions.php
r6612 r6616 1140 1140 1141 1141 // Get subscribers from source topic 1142 $subscribers = bbp_get_ topic_subscribers( $source_topic->ID );1142 $subscribers = bbp_get_subscribers( $source_topic->ID ); 1143 1143 1144 1144 // Maybe migrate subscriptions … … 1466 1466 1467 1467 // Get the subscribers 1468 $subscribers = bbp_get_ topic_subscribers( $source_topic->ID );1468 $subscribers = bbp_get_subscribers( $source_topic->ID ); 1469 1469 1470 1470 if ( ! empty( $subscribers ) ) { -
trunk/src/includes/users/engagements.php
r6612 r6616 657 657 658 658 // Filter & return 659 return (array) apply_filters( 'bbp_get_ forum_subscribers', $users, $object_id, $type );659 return (array) apply_filters( 'bbp_get_subscribers', $users, $object_id, $type ); 660 660 } 661 661
Note: See TracChangeset
for help on using the changeset viewer.