Making WordPress.org

Opened 20 months ago

Last modified 2 months ago

#2110 new defect

Forums: Wrong page number in some reply links

Reported by: SergeyBiryukov Owned by:
Milestone: Priority: normal
Component: Support Forums Keywords:

Description (last modified by SergeyBiryukov)

  1. Open this reply:
    (That particular topic is already fixed.)
  2. The next reply on the same page suddenly has /page/3/ instead of /page/2/:

Steps to reproduce:

  1. Create a topic and two pages of replies.
  2. Archive or mark as spam some replies on the first page.
  3. The first page now displays some replies from the second page, but their URLs still link to the second page.

Change History (5)

#1 @SergeyBiryukov
10 months ago

In 5693:

Support Forums: Update the necessary meta data when editing a reply created before 2017-07-17, as those replies can have potentially inaccurate data.

See #2110, #2481.

#2 @SergeyBiryukov
10 months ago

In 5695:

Support Forums: In Dropin::update_old_reply_meta(), don't recalculate position for archived replies.

Archived replies are not returned by bbp_get_all_child_ids(), so they end up with a zero position.

See #2110, #2481.

#3 @SergeyBiryukov
10 months ago

  • Description modified (diff)

#4 @SergeyBiryukov
9 months ago

  • Description modified (diff)

This ticket was mentioned in Slack in #forums by clorith. View the logs.

2 months ago

Note: See TracTickets for help on using tickets.