Opened 6 years ago

Closed 5 years ago

#710 closed defect (fixed)

favorites are not removed when topic deleted

Reported by: _ck_ Owned by:
Priority: low Milestone: 0.9
Component: Back-end Version: 0.8.2.1
Severity: minor Keywords:
Cc:

Description

I noticed $favorites_total was too high on the profile favorites page and discovered that when a topic is deleted, any favorites in the meta pointing to it are left in place.

Deleted topics are not displayed of course which is good but it messes up the count.

Attachments (1)

710.patch (2.5 KB) - added by livibetter 6 years ago.

Download all attachments as: .zip

Change History (4)

  • Milestone set to 0.8.4 & WP-Taxonomy

I uploaded a patch for this issue. But I am guessing that WP-Taxonomy will change something after I saw [662] and [663], although I have no knowledge about WP-Taxonomy and its capabilities.

I also add a recount option to fix those forums which counts deleted topics as favorites for their users.

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

(In [1047]) Delete favorites when topic s deleted. Fixes #710. Props livibetter.

Note: See TracTickets for help on using tickets.