[wp-hackers] Meta tables: Take 5

Otto otto at ottodestruct.com
Fri Jul 24 17:07:21 UTC 2009

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.

Sent from Memphis, TN, United States

More information about the wp-hackers mailing list