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

Otto otto at ottodestruct.com
Fri Oct 12 00:34:39 GMT 2007


Oh, well, yeah, okay we do need something that does an insert. It
would be nice if the update and insert were the same function call
though.


On 10/11/07, Otto <otto at ottodestruct.com> wrote:
> 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