[wp-trac] [WordPress Trac] #9674: Better support for custom post types
WordPress Trac
wp-trac at lists.automattic.com
Sat Oct 17 16:18:58 UTC 2009
#9674: Better support for custom post types
-------------------------------------------+--------------------------------
Reporter: wnorris | Owner: ryan
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 2.9
Component: Administration | Version: 2.8
Severity: normal | Resolution:
Keywords: has-patch needs-testing early |
-------------------------------------------+--------------------------------
Comment(by Denis-de-Bernardy):
Replying to [comment:27 ryan]:
> I have no idea how they would be viewed. Maybe all of the people who
keep asking for it could fill me in. :-) I'm guessing they just want ways
of adding and editing objects that can be later queried in their
templates.
Personally, I can picture myself trying to use this stuff to manage typed
data through the WP API, without needing to rewrite the various WP
functions to generate post meta boxes and the like. Actual page generation
would be handled by the plugin. It's clearly not WP's job to handle it
imo. :-)
This prompts me to ask a few questions, though...
Some of the typed data is so special that it really doesn't belong in the
posts table with boat loads of other things. Yet many of the built-in
admin functions are useful. A quick glance at the meta-boxes.php file
reveals the assumption that things are always stored in the wp_posts
table. It's arguably better, but definitely not ideal imo.
Other note: the get_permalink() function is missing custom post type
handling in trunk.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9674#comment:29>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list