[wp-hackers] post_status and post_type
powzor at gmail.com
Fri Feb 10 01:13:38 GMT 2006
Ryan Boren wrote:
> Owen Winkler wrote:
>> Ryan Boren wrote:
>>> Behold the changeset of destruction.
>> Curious on this one point:
>> Why is post_type a varchar(100) and not an enum('post','page',
>> 'attachment')? Wouldn't that be faster?
> The varchar is used for portability and flexibility. We might change
> all occurences of enums to varchars. Those porting WordPress to other
> DBs curse our use of enums.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
Is this general advice, to be applied to plugins as well?
http://robm.me.uk/ | http://kantian.co.uk/
More information about the wp-hackers