Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#12296 closed defect (bug) (duplicate)

wp_insert_attachment and categories

Reported by: jfarthing84 Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Media Keywords: dev-feedback
Focuses: Cc:


I never knew attachments had categories. Why does the default category get inserted with an attachment? Is this right? Please explain.

Change History (2)

#1 @dd32
6 years ago

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

It was a choice at one point in time that all objects (Posts/Attachments/Whatever) would recieve the default category, as some plugins relied upon it.

Thats changed in 3.0, Take a look at [13184] and its related ticket.

#2 @dd32
6 years ago

  • Milestone Unassigned deleted
Note: See TracTickets for help on using tickets.