Skip to:

Opened 11 years ago

Closed 11 years ago

Last modified 4 weeks ago

#2190 closed defect (bug) (fixed)

BuddyPress: "Replies Created" pagination doesn't work under profile

Reported by: r-a-y's profile r-a-y Owned by:
Milestone: 2.3 Priority: normal
Severity: normal Version: 2.2
Component: Extend - BuddyPress Keywords: has-patch


Steps to reproduce:

  1. Make sure a user has enough total replies to cause pagination.
  2. Navigate to /members/USERNAME/forums/replies/
  3. Attempt to click on the second page in the pagination links.
  4. Pagination link looks like this:

Which is invalid; link should look like this:

Tested on trunk.

Why is this happening?

Problem occurs during the construction of the pagination links in bbp_has_replies().

Attached patch changes how the $base variable is constructed so a check is done in bbp_is_single_user() as well and moves the is_page() check lower in the stack.

This mirrors how bp_has_topics() works.

Attachments (1)

2190.01.patch (1.5 KB) - added by r-a-y 11 years ago.

Download all attachments as: .zip

Change History (4)

11 years ago

#1 @johnjamesjacoby
11 years ago

  • Milestone changed from Awaiting Review to 2.3

#2 @johnjamesjacoby
11 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [4741]) Fix issue with user profile replies pagination. Props r-a-y. Fixes #2190.

#3 @jgasba
6 months ago

This issue persists. I stumbled upon it today. Saw that a user reported about it a few years ago.
Can still be visible on BuddyPress forums and other websites too.

More infos on most recent issue

Note: See TracTickets for help on using tickets.