[wp-hackers] Meta tables: Take 5

mikeschinkel at newclarity.net mikeschinkel at newclarity.net
Fri Jul 24 17:29:00 UTC 2009

It could use reference counting implemented in a core function.  
Reference count could be stored in wp_options.

Sent from my iPhone

On Jul 24, 2009, at 1:08 PM, Otto <otto at ottodestruct.com> wrote:

> On Fri, Jul 24, 2009 at 5:21 AM, scribu<scribu at gmail.com> wrote:
>> ...
>> add_meta('comment', $comment_id, $meta_key, $meta_value);
>> ...
> Oh, also, combining all the meta code together into a set of combined
> functions is a damn good idea, even if they do use separate tables.
> However, I'm not certain about creating meta tables on the fly yet.
> This runs into a plugin uninstall issue to me. The metadata can be
> removed, but how do you remove the table when other plugins might use
> it as well? Check when it's empty then drop it? Seems error prone.
> -Otto
> Sent from Memphis, TN, United States
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list