Complete register_post_status() API
|Reported by:||danielbachhuber||Owned by:|
register_post_status(), introduced in r12719, isn't fully functional. Registering a custom post status produces incomplete and unexpected results. #12706 has been a long-standing ticket to fix things up but hasn't ever been committed, I suspect, because it's trying to do to much.
Instead, we should complete the register_post_status() API with the bare minimum of code. A user should be able to register a custom post status using any of the existing arguments. The admin UI (including post submit box and quick edit) should reflect this new custom post status. Furthermore, there are many hard-coded references to 'draft' and 'pending' statuses in core that should properly use the post status API.
Change History (3)
comment:1 SergeyBiryukov — 14 months ago
- Keywords editorial-flow added
- Milestone changed from Awaiting Review to 3.6