Changeset 5338
- Timestamp:
- 04/04/2014 03:52:52 PM (11 years ago)
- Location:
- trunk/src/includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/replies/functions.php
r5301 r5338 1291 1291 1292 1292 // Bump the reply position 1293 $reply_position = bbp_get_topic_reply_count( $destination_topic->ID ) + 1;1293 $reply_position = bbp_get_topic_reply_count( $destination_topic->ID, true ) + 1; 1294 1294 1295 1295 // Update the reply -
trunk/src/includes/replies/template.php
r5291 r5338 2286 2286 $classes[] = 'bbp-parent-forum-' . bbp_get_reply_forum_id( $reply_id ); 2287 2287 $classes[] = 'bbp-parent-topic-' . bbp_get_reply_topic_id( $reply_id ); 2288 $classes[] = 'bbp-reply-position-' . bbp_get_reply_position( $reply_id );2288 $classes[] = 'bbp-reply-position-' . bbp_get_reply_position( $reply_id, true ); 2289 2289 $classes[] = 'user-id-' . bbp_get_reply_author_id( $reply_id ); 2290 2290 $classes[] = ( bbp_get_reply_author_id( $reply_id ) === bbp_get_topic_author_id( bbp_get_reply_topic_id( $reply_id ) ) ? 'topic-author' : '' ); -
trunk/src/includes/topics/functions.php
r5310 r5338 1629 1629 // Get topic reply count for existing topic 1630 1630 case 'existing' : 1631 $reply_position = bbp_get_topic_reply_count( $destination_topic->ID );1631 $reply_position = bbp_get_topic_reply_count( $destination_topic->ID, true ); 1632 1632 break; 1633 1633
Note: See TracChangeset
for help on using the changeset viewer.