[wp-hackers] 2.4 Feature Proposal: New general meta-data table

Otto otto at ottodestruct.com
Fri Oct 12 00:29:41 GMT 2007


On 10/11/07, wordpress at santosj.name <wordpress at santosj.name> wrote:
> Also, there seems to be a missing insert_general_meta(); the code in
> update_general_meta() will return false if there is no $object_id.

Shouldn't need an insert, as having no $object_id is not an option.
Every entry must have an object_id. For the cases where it replaces
wp_options (let's call that object_type = 'blogmeta'), the $object_id
= some unique identifier to the blog (consider the MU version here
too, each blog can have a different object_id).

-Otto


More information about the wp-hackers mailing list