wp_set_object_terms creates relationship to REVISION?

Use wp_is_post_revision() function which will give you false if post is not a revision (in which case just work as usual with that) or actual post ID to use instead of revision’s.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)