[wp-trac] [WordPress Trac] #12567: make post_submit_meta_box more generic
WordPress Trac
noreply at wordpress.org
Sat Oct 27 12:16:08 UTC 2012
#12567: make post_submit_meta_box more generic
-------------------------------------------------+-------------------------
Reporter: themattharris | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future
Component: Post Types | Release
Severity: normal | Version:
Keywords: post_status register_post_status | Resolution:
post_submit_meta_box metaboxes |
-------------------------------------------------+-------------------------
Changes (by soficgr):
* keywords: post_status register_post_status, post_submit_meta_box,
metaboxes => post_status register_post_status post_submit_meta_box
metaboxes
Comment:
This is something we really need ! I took a quick look in the code.
My option & how i do this with custom code for wp cms mode (sorry if I'm a
little off)
We have :
- register_post_status so plugin can register new status also we have
get_post_stati
- register_post_type so plugin can add new types, and also we can add
'''supports''' for new status if want as '''feature'''.
- Already exist add_post_type_support (), remove_post_type_support() and
many other function
- we can add capabilities when we register_post_type. Everything is fine.
But the post_submit_meta_box does not support custom status and this is
the problem. Also has no hook so we can't do whatever we want without
custom sumbit meta box.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12567#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list