Making WordPress.org

Opened 17 months ago

Last modified 6 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 (4)

#1 @SergeyBiryukov
7 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
7 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
7 months ago

  • Description modified (diff)

#4 @SergeyBiryukov
6 months ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.