Changeset 7247 for branches/2.6/src/includes/topics/template.php
- Timestamp:
- 03/08/2022 08:29:33 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.6/src/includes/topics/template.php
r7176 r7247 809 809 810 810 // If pretty permalinks are enabled, make our pagination pretty 811 $base = ! empty( $has_slug ) && bbp_use_pretty_urls() && ! bbp_is_topic_pending( $r['topic_id'] )811 $base = ! empty( $has_slug ) && bbp_use_pretty_urls() && bbp_is_topic_public( $r['topic_id'] ) 812 812 ? trailingslashit( get_permalink( $r['topic_id'] ) ) . user_trailingslashit( bbp_get_paged_slug() . '/%#%/' ) 813 813 : add_query_arg( 'paged', '%#%', get_permalink( $r['topic_id'] ) );
Note: See TracChangeset
for help on using the changeset viewer.