Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/22/2015 01:41:28 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.3.3 (2.3 branch)

File:
1 edited

Legend:

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

    r10057 r10058  
    22882288         * @param int $user_id ID of the message sender.
    22892289         */
    2290         return (int) apply_filters( 'bp_get_the_thread_message_css_class', (int) $user_id );
     2290        return (int) apply_filters( 'bp_get_the_thread_message_sender_id', (int) $user_id );
    22912291    }
    22922292
Note: See TracChangeset for help on using the changeset viewer.