[wp-trac] [WordPress Trac] #12510: Shouldn't post_types and post_status be stored in DB?
WordPress Trac
wp-trac at lists.automattic.com
Thu Mar 4 06:58:57 UTC 2010
#12510: Shouldn't post_types and post_status be stored in DB?
-----------------------------+----------------------------------------------
Reporter: ceenz | Owner:
Type: feature request | Status: new
Priority: high | Milestone: 3.0
Component: General | Version: 3.0
Severity: normal | Keywords: post_types
-----------------------------+----------------------------------------------
Presently the available (default) post_types and post_statuses are stored
in wp-includes/post.php and called on init.
Shouldn't they be stored in the DB (perhaps in the options table). This
would make it much easier / cleaner to add / manage custom post_types.
Essentially as the post_type array contains meta-data about that posts of
that type I don't believe that it is good practice to store that
statically.
This could be very easily implemented for 3.0 release and clean up a whole
lot of hacking / issues and make a uniform way of storing custom
post_types.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12510>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list