#14318 closed defect (bug) (duplicate)
post_status API improvements
| Reported by: | filosofo | Owned by: | filosofo |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Posts, Post Types | Version: | 3.0 |
| Severity: | normal | Keywords: | needs-patch |
| Cc: | Focuses: |
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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Going slightly offtopic, I would like to point out that it's the same situation (maybe worse) for comment statuses.