WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#5903 closed enhancement (duplicate)

Remove post_category column

Reported by: Otto42 Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.5
Component: Optimization Keywords: needs-patch
Focuses: Cc:

Description

It's been 4 years since wp_posts->post_category was used for anything. Why is it still around?

It's somewhat confusing to people sometimes in the support forums. We have to explain that the post_category column will always contain zero.

Propose that the column be deleted, and any references still remaining to it (should not be any) be flat out removed (not just deprecated, it's been deprecated for years and years, we need to move on).

Change History (4)

comment:1 @mrmist7 years ago

  • Keywords needs-patch added

comment:2 @Denis-de-Bernardy6 years ago

  • Milestone 2.9 deleted

fixed in 2.8

comment:3 follow-up: @DD326 years ago

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

See: [10895] Drop post_category and link_category from the schema. Props Denis-de-Bernardy. see #9435

Old installs will continue to have it, but new installs will not create it. (I Wish people would search for older tickets(like this one) before creating new ones sometimes :))

comment:4 in reply to: ↑ 3 @Denis-de-Bernardy6 years ago

Replying to DD32:

Old installs will continue to have it, but new installs will not create it. (I Wish people would search for older tickets(like this one) before creating new ones sometimes :))

Trac's search functions suck. ;-)

Note: See TracTickets for help on using tickets.