Changeset 4547
- Timestamp:
- 12/05/2012 09:21:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/extend/buddypress/activity.php
r4539 r4547 452 452 // Topic 453 453 $topic_permalink = bbp_get_topic_permalink( $topic_id ); 454 $topic_title = bbp_get_topic_title ( $topic_id);455 $topic_content = bbp_get_topic_content ( $topic_id);454 $topic_title = get_post_field( 'post_title', $topic_id, 'raw' ); 455 $topic_content = get_post_field( 'post_content', $topic_id, 'raw' ); 456 456 $topic_link = '<a href="' . $topic_permalink . '" title="' . $topic_title . '">' . $topic_title . '</a>'; 457 457 458 458 // Forum 459 459 $forum_permalink = bbp_get_forum_permalink( $forum_id ); 460 $forum_title = bbp_get_forum_title ( $forum_id);460 $forum_title = get_post_field( 'post_title', $forum_id, 'raw' ); 461 461 $forum_link = '<a href="' . $forum_permalink . '" title="' . $forum_title . '">' . $forum_title . '</a>'; 462 462 … … 598 598 599 599 // Reply 600 $reply_url = bbp_get_reply_url 601 $reply_content = bbp_get_reply_content( $reply_id);600 $reply_url = bbp_get_reply_url( $reply_id ); 601 $reply_content = get_post_field( 'post_content', $reply_id, 'raw' ); 602 602 603 603 // Topic 604 604 $topic_permalink = bbp_get_topic_permalink( $topic_id ); 605 $topic_title = bbp_get_topic_title ( $topic_id);605 $topic_title = get_post_field( 'post_title', $topic_id, 'raw' ); 606 606 $topic_link = '<a href="' . $topic_permalink . '" title="' . $topic_title . '">' . $topic_title . '</a>'; 607 607 608 608 // Forum 609 609 $forum_permalink = bbp_get_forum_permalink( $forum_id ); 610 $forum_title = bbp_get_forum_title ( $forum_id);610 $forum_title = get_post_field( 'post_title', $forum_id, 'raw' ); 611 611 $forum_link = '<a href="' . $forum_permalink . '" title="' . $forum_title . '">' . $forum_title . '</a>'; 612 612
Note: See TracChangeset
for help on using the changeset viewer.