[wp-hackers] Making sure wp term relationships records are unique

Haluk Karamete halukkaramete at gmail.com
Fri Apr 13 13:24:11 UTC 2012


Which  WordPress function is used when associating wp_ term_taxonomy IDs
with the wp_post IDs with PROGRAMMATICALLY.

And does that function have internal mechanisms to make sure that no
duplicate entries are allowed when being triggered programmatically.

Here of course I'm not talking about wpdb->insert - which will surely allow
duplicates unless mysql table is configured properly.


More information about the wp-hackers mailing list