WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#7316 closed defect (bug) (fixed)

Links not reassigned to default category after category deletion

Reported by: 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 6 years ago.
Passes the default link category id

Download all attachments as: .zip

Change History (7)

comment:1 mtekk6 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.

comment:2 markjaquith6 years ago

  • Milestone changed from 2.7 to 2.6.1

scohoust6 years ago

Passes the default link category id

comment:3 scohoust6 years ago

  • Keywords has-patch added

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

comment:4 ryan6 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

comment:5 ryan6 years ago

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

comment:6 ryan6 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.