Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#7316 closed defect (bug) (fixed)

Links not reassigned to default category after category deletion

Reported by: niladam's profile niladam Owned by:
Milestone: 2.6.1 Priority: normal
Severity: normal Version: 2.6
Component: General Keywords: links blogroll has-patch
Focuses: 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 (1)

7316.diff (1.6 KB) - added by scohoust 16 years ago.
Passes the default link category id

Download all attachments as: .zip

Change History (7)

#1 @mtekk
16 years ago

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

#2 @markjaquith
16 years ago

  • Milestone changed from 2.7 to 2.6.1

@scohoust
16 years ago

Passes the default link category id

#3 @scohoust
16 years ago

  • Keywords has-patch added

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

#4 @ryan
16 years ago

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

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

#5 @ryan
16 years ago

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

#6 @ryan
16 years ago

  • Summary changed from Blogroll issue to Links not reassigned to default category after category deletion
Note: See TracTickets for help on using tickets.