﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
23174	Complete register_post_status() API	danielbachhuber		"`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.

Once we've knocked this out, enhancements like #23169, #23168, and others should be much easier to stomach. "	defect (bug)	closed	normal		General		normal	duplicate	needs-patch	kovshenin scribu
