Changeset 1651 for trunk/bp-messages/bp-messages-templatetags.php
- Timestamp:
- 08/11/2009 10:59:21 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-messages/bp-messages-templatetags.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-messages/bp-messages-templatetags.php
r1636 r1651 159 159 function bp_get_message_thread_id() { 160 160 global $messages_template; 161 161 162 return apply_filters( 'bp_get_message_thread_id', $messages_template->thread->thread_id ); 162 163 } … … 284 285 global $bp; 285 286 286 return apply_filters( 'bp_get_messages_form_action', $bp->loggedin_user->domain . $bp->messages->slug . '/' . $bp->current_action );287 return apply_filters( 'bp_get_messages_form_action', $bp->loggedin_user->domain . $bp->messages->slug . '/' . $bp->current_action . '/' . $bp->action_variables[0] . '/' ); 287 288 } 288 289 … … 582 583 } 583 584 585 function bp_the_thread_id() { 586 echo bp_get_the_thread_id(); 587 } 588 function bp_get_the_thread_id() { 589 global $thread_template; 590 591 return apply_filters( 'bp_get_the_thread_id', $thread_template->thread->thread_id ); 592 } 593 584 594 function bp_the_thread_subject() { 585 595 echo bp_get_the_thread_subject(); … … 587 597 function bp_get_the_thread_subject() { 588 598 global $thread_template; 589 590 return apply_filters( 'bp_get_the_thread_subject', $thread_template->thread-> subject );599 600 return apply_filters( 'bp_get_the_thread_subject', $thread_template->thread->last_message_subject ); 591 601 } 592 602
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)