[wp-trac] [WordPress Trac] #9674: Better support for custom post types
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 30 23:56:39 UTC 2009
#9674: Better support for custom post types
------------------------------------+---------------------------------------
Reporter: wnorris | Owner: ryan
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 3.0
Component: Administration | Version: 2.9
Severity: normal | Resolution:
Keywords: has-patch tested early |
------------------------------------+---------------------------------------
Comment(by ryan):
The main argument for "object", I think, is that it is already used in the
taxonomy and menu APIs to refer to posts table entities.
Jane addressed post type/post template earlier.
I personally don't really care. :-) I just want to avoid juggling names,
especially given the interest there is in jumping on this as soon as it
lands.
register_post_type(), get_post_types(), and get_post_type_object() would
get the new naming, if we switch terminology. get_post_type() and
set_post_type() would likely keep their names since they are set/gets for
the post_type field.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9674#comment:73>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list