Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#14318 closed defect (bug) (duplicate)

post_status API improvements

Reported by: filosofo's profile filosofo Owned by: filosofo's profile filosofo
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Posts, Post Types Keywords: needs-patch
Focuses: Cc:

Description

There's an inchoate API, but:

  • It's not being used to generate the shown options when editing a particular post object
  • The API functions have copy-paste cruft, such as the "hierarchical" property for post_status
  • It would be reasonable to associate status types with particular object types, something you can't do currently.

One problem is that many status types are extensively hard-coded into WP.

Change History (3)

#1 follow-up: @scribu
14 years ago

One problem is that many status types are extensively hard-coded into WP.

Going slightly offtopic, I would like to point out that it's the same situation (maybe worse) for comment statuses.

#2 in reply to: ↑ 1 @ptahdunbar
14 years ago

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

This looks like a dup of #12706

#3 @nacin
14 years ago

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