Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/27/2009 10:41:10 AM (16 years ago)
Author:
apeatling
Message:

Single WP support. Yes, you read that correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-messages/bp-messages-templatetags.php

    r2199 r2209  
    612612            return apply_filters( 'bp_get_the_thread_recipients', sprintf( __( '%d Recipients', 'buddypress' ), count($thread_template->thread->recipients) ) );
    613613
    614         foreach( $thread_template->thread->recipients as $recipient )
     614        foreach( (array)$thread_template->thread->recipients as $recipient )
    615615            $recipient_links[] = bp_core_get_userlink( $recipient );
    616616
    617         return apply_filters( 'bp_get_the_thread_recipients', implode( ', ', $recipient_links ) );
     617        return apply_filters( 'bp_get_the_thread_recipients', implode( ', ', (array)$recipient_links ) );
    618618    }
    619619
Note: See TracChangeset for help on using the changeset viewer.