• If adding tags with wp_insert_post or wp_set_post_tags that already exists in another language has link on this wrong language.

    Echo "<br>default: ".pll_default_language();
    Echo "<br>current: ".pll_current_language();
    wp_set_post_tags($post_id, 'Test123, test321');
    default: en
    current: id

    Links:

    SITE/uk/tag/test123/
    SITE/id/tag/test321/

    https://ww.wp.xz.cn/plugins/polylang/

The topic ‘Tags link bug’ is closed to new replies.