add_meta() can return the wrong meta_id
|Reported by:||cyberhobo||Owned by:|
I think this is a simple global variable bug.
Currently $wpdb->insert_id is being returned after do_action() is called, which can change that value if the action makes use of the global $wpdb.
Change History (4)
Note: See TracTickets for help on using tickets.