[wp-trac] [WordPress Trac] #9674: Better support for custom post types
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 31 21:17:35 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 Denis-de-Bernardy):
Replying to [comment:91 ryan]:
> Heh.
>
> Somewhat more seriously, I actually like "thing" better than "object". A
"thing" API would be refreshing. :-) My more cynical side, however, wants
to call it as it is and use "contrivance".
I'd suggest calling it "mess" or "garbage", myself, rather than "thing",
"thingy" or "object". ;-)
Seriously, though. It's like to be frank... whoever tries to store
anything in that table but data that is very similar to a post is bound to
get experience huge problems.
If that doesn't strike whoever, just give it a shot and try to store a
product, with all of the necessary extra fields. Sounds simple? Great. Now
create a dozen products, 10k users, and 15k orders spread on those various
products. Try to make it scale. And good luck. (Tip: you're wasting your
time.)
The point I'd like to make is, keep this as post_type, not object_type or
inanity_type. That table is for posts, or things very similar to posts.
The name should NOT suggest that it's for generic types of data.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9674#comment:94>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list