WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 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:

Description

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

Change History (2)

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

comment:2 @dd325 years ago

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