[wp-trac] [WordPress Trac] #18979: Add $post_type parameter and a filter to meta_form()
WordPress Trac
wp-trac at lists.automattic.com
Tue Oct 18 03:55:56 UTC 2011
#18979: Add $post_type parameter and a filter to meta_form()
--------------------------+-----------------------------
Reporter: takayukister | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version:
Severity: normal | Keywords:
--------------------------+-----------------------------
In the current version, meta_form(), the function which outputs Custom
Fields form used in Edit Post pages, shows all meta keys you have used
regardless of post type. Sometimes this gives users unwanted options.
I'd like to suggest adding $post_type parameter to meta_form() to show
only meta keys you have used in the same post type. In addition, it would
be better if there were a filter for the meta keys.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18979>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list