Topics with +1000 replies do not add page numbers to reply permalinks
-
Hi there,
WP: 4.8.2
BBP: 2.5.14After digging into lots of pages, I finally found an old topic here that describes the same problem I have. As it’s an ancient topic, I started a new one.
For topics with more than 1000 replies, when posting new replies, bbpress does not add the page number to the reply permalink. I did as the user Matrixd said here(of course for new versions of bbpress with different paths):
Hello again, finally after John’s helpful tip, I was able to fix the issue. I found where BBpress does the number formatting and disabled it. In wp-content/plugins/bbpress/bbp-includes/bbp-common-functions.php I changed this line:
function bbp_number_format( $number = 0, $decimals = false, $dec_point = '.', $thousands_sep = ',' ) {
to:
function bbp_number_format( $number = 0, $decimals = false, $dec_point = '.', $thousands_sep = '' ) {
This removes the comma from the thousands separator. Now all topics pages appear correctly. Thanks!
And the problem solved!
But this is a core hack, I want it as an additional function without touching core files.
- You must be logged in to reply to this topic.