[buddypress-trac] [BuddyPress] #2583: bp_get_send_private_message_link() uses wrong filter
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Tue Aug 10 18:10:12 UTC 2010
#2583: bp_get_send_private_message_link() uses wrong filter
-----------------------+----------------------------------------------------
Reporter: r-a-y | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.2.6
Component: Messaging | Keywords: has-patch
-----------------------+----------------------------------------------------
In /bp-messages/bp-messages-templatetags.php, the
bp_get_send_private_message_link() function applies the wrong filter.
It uses the same filter as the bp_get_send_public_message_link().
The attached patch fixes this.
---
I should also note that I've been experiencing some weird object caching
issues with bp_core_get_username() and W3 Total Cache.
This made me look into the private message link filter so I could override
bp_core_get_username() with the $bp global.
Might be part of a larger issue with bp_core_get_username() or it could be
a W3 Total Cache problem. Thought I'd type this addendum!
--
Ticket URL: <http://trac.buddypress.org/ticket/2583>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list