Skip to:

Opened 8 years ago

Closed 7 years ago

#710 closed defect (fixed)

favorites are not removed when topic deleted

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


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 7 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 @mdawaffe8 years ago

  • Milestone set to 0.8.4 & WP-Taxonomy

@livibetter7 years ago

comment:2 @livibetter7 years ago

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.

comment:3 @sambauers7 years ago

  • 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.