Ticket #7316 (closed defect (bug): fixed)

Opened 6 months ago

Last modified 5 months ago

Links not reassigned to default category after category deletion

Reported by: niladam Assigned to: anonymous
Priority: normal Milestone: 2.6.1
Component: General Version: 2.6
Severity: normal Keywords: links blogroll has-patch
Cc:

Description

Hello folks, my first ticket so bare with me please.

Having 3 categories for the links (blogroll), after the removal of one of them the links dont get assigned to the default category. The links in the removed category simply has no category.

Thanks.

Attachments

7316.diff (1.6 kB) - added by scohoust on 07/21/08 11:11:32.
Passes the default link category id

Change History

07/16/08 17:25:24 changed by mtekk

  • priority changed from high to normal.
  • severity changed from major to normal.

I can confirm that this behavior exists on 2.6. On deletion of link category, all the members of that category should be moved to the default link category.

07/16/08 17:30:34 changed by markjaquith

  • milestone changed from 2.7 to 2.6.1.

07/21/08 11:11:32 changed by scohoust

  • attachment 7316.diff added.

Passes the default link category id

07/21/08 11:14:49 changed by scohoust

  • keywords changed from links blogroll to links blogroll has-patch.

wp_delete_term wasn't getting the default id. Added it in and done a bit of tidying.

07/21/08 16:13:24 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [8388]) Fix assignment of links to the default category when a category is deleted. Props scohoust. fixes #7316 for trunk

07/21/08 16:13:38 changed by ryan

(In [8389]) Fix assignment of links to the default category when a category is deleted. Props scohoust. fixes #7316 for 2.6

07/29/08 06:25:11 changed by ryan

  • summary changed from Blogroll issue to Links not reassigned to default category after category deletion.