[wp-trac] [WordPress Trac] #9674: Better support for custom post types
WordPress Trac
wp-trac at lists.automattic.com
Sun Mar 7 02:36:37 UTC 2010
#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 mikeschinkel):
I'd like to propose that create_initial_post_types() in wp-
includes/post.php have a filter called 'initial_post_types' (or something
else) that will allow a hook to remove default post types and/or modify
the attributes of post types before they are registered. I've included a
patch to illustrate. The same could be done with the post statues but
doing so is a bit more complicated so I didn't implement that in case the
core devs hate the idea.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9674#comment:278>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list