[wp-hackers] Custom list of posts per user

scribu scribu at gmail.com
Wed Sep 15 10:32:53 UTC 2010


On Wed, Sep 15, 2010 at 2:10 AM, Mike Schinkel
<mikeschinkel at newclarity.net>wrote:

> One option I'm sure you've considered is to add an array value to
> wp_postmeta.  Of course that is relationally horrible and you can't run JOIN
> queries using foreign keys in serialized arrays so I'd hope nobody would do
> that in a plugin.
>

Remember that you can have multiple meta values with the same key, so you
don't need serialization at all.

You just have to decide which table makes more sense: postmeta or usermeta.


-- 
http://scribu.net


More information about the wp-hackers mailing list