Skip to:
Content

bbPress.org

Changeset 6445


Ignore:
Timestamp:
05/30/2017 05:57:03 PM (8 years ago)
Author:
johnjamesjacoby
Message:

Subscriptions: Remove array_filter( array_map() ) bit from $user_ids.

This now is handled upstream inside of bbp_get_forum_subscribers() and friends.

File:
1 edited

Legend:

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

    r6444 r6445  
    10931093    // Dedicated filter to manipulate user ID's to send emails to
    10941094    $user_ids = (array) apply_filters( 'bbp_topic_subscription_user_ids', $user_ids );
    1095     $user_ids = array_filter( array_map( 'intval', $user_ids ) );
    10961095    if ( empty( $user_ids ) ) {
    10971096        return false;
     
    12591258    // Dedicated filter to manipulate user ID's to send emails to
    12601259    $user_ids = (array) apply_filters( 'bbp_forum_subscription_user_ids', $user_ids );
    1261     $user_ids = array_filter( array_map( 'intval', $user_ids ) );
    12621260    if ( empty( $user_ids ) ) {
    12631261        return false;
Note: See TracChangeset for help on using the changeset viewer.