Changeset 7046 for trunk/src/includes/replies/template.php
- Timestamp:
- 12/15/2019 10:42:29 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/replies/template.php
r7006 r7046 236 236 // Figure out total pages 237 237 if ( true === $r['hierarchical'] ) { 238 $walker = new BBP_Walker_Reply ;238 $walker = new BBP_Walker_Reply(); 239 239 $total_pages = ceil( $walker->get_number_of_root_elements( $bbp->reply_query->posts ) / $bbp->reply_query->posts_per_page ); 240 240 } else { … … 2374 2374 // We are threading replies 2375 2375 if ( bbp_thread_replies() ) { 2376 $walker = new BBP_Walker_Reply ;2376 $walker = new BBP_Walker_Reply(); 2377 2377 $threads = absint( $walker->get_number_of_root_elements( $bbp->reply_query->posts ) - 1 ); 2378 2378 $retstr = sprintf( _n( 'Viewing %1$s reply thread', 'Viewing %1$s reply threads', $threads, 'bbpress' ), bbp_number_format( $threads ) );
Note: See TracChangeset
for help on using the changeset viewer.