[buddypress-trac] [BuddyPress] #4650: bp_get_send_message_button filter can't work
buddypress-trac
noreply at wordpress.org
Wed Nov 7 10:24:43 UTC 2012
#4650: bp_get_send_message_button filter can't work
--------------------------+------------------------------
Reporter: rogercoathup | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version: 1.7
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by rogercoathup):
Missing a bracket in suggested fix. Correct is:
function bp_get_send_message_button() {
$button = array(
'id' => 'private_message',
'component' => 'messages',
'must_be_logged_in' => true,
'block_self' => true,
'wrapper_id' => 'send-private-message',
'link_href' => bp_get_send_private_message_link(),
'link_title' => ( 'Send a private message to this user.', 'buddypress' ),
'link_text' => ( 'Private Message', 'buddypress' ),
'link_class' => 'send-message',
);
return bp_get_button ( apply_filters ( 'bp_get_send_message_button',
$button ) );
}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4650#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list