Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#816 closed defect (bug) (fixed)

Subject does not display in message thread view

Reported by: rebootnow's profile rebootnow Owned by: andy-peatling's profile Andy Peatling
Milestone: 1.1 Priority: minor
Severity: Version:
Component: Keywords:
Cc: Burt Adsit

Description

The function "messages_view_thread()" displays the detail of a thread, but does not correctly display the subject. This can be seen in the current installation on buddypress.org.

The following line (around line number 495 in "bp-messages-templatetags.php" in the trunk) does not do anything since there is no member called "subject" in the "BP_Messages_Thread" class.

<h2 id="message-subject"><?php echo $thread->subject; ?></h2>

One solution would be to change the above line to:

<h2 id="message-subject"><?php echo $thread->messages[0]->subject; ?></h2>

Change History (4)

#1 @(none)
15 years ago

  • Milestone Private Messaging 1.1 deleted

Milestone Private Messaging 1.1 deleted

#2 @apeatling
15 years ago

  • Milestone set to 1.0.4

#3 @apeatling
15 years ago

  • Milestone changed from 1.0.4 to 1.1

Milestone 1.0.4 deleted

#4 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in trunk.

Note: See TracTickets for help on using tickets.