Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/22/2015 01:42:35 PM (9 years ago)
Author:
johnjamesjacoby
Message:

Messages: Apply correct filter name in bp_get_the_thread_message_sender_id().

This changeset ensures that the results of bp_get_the_thread_message_sender_id() are not accidentally filtered by bp_get_the_thread_message_css_class.

his bug was introduced in r8674.

See #6599. For 2.4 (trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-messages/bp-messages-template.php

    r10056 r10059  
    22892289         * @param int $user_id ID of the message sender.
    22902290         */
    2291         return (int) apply_filters( 'bp_get_the_thread_message_css_class', (int) $user_id );
     2291        return (int) apply_filters( 'bp_get_the_thread_message_sender_id', (int) $user_id );
    22922292    }
    22932293
Note: See TracChangeset for help on using the changeset viewer.