post_status API improvements
|Reported by:||filosofo||Owned by:||filosofo|
|Component:||Posts, Post Types||Keywords:||needs-patch|
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)
Note: See TracTickets for help on using tickets.