Support » Plugin: Optimize Database after Deleting Revisions » Orphaned Term Relationship

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author cageehv


    hey arnonalex,

    Thanks for the suggestion!

    I will look into it and see what I can do.


    Plugin Author cageehv


    Hey arnonalex,

    I just released v4.9 of the plugin:
    it now includes deletion of Orphaned Term Relationship.

    Thanks for your feedback!


    After use of this feature, there are destroyed the connections between translations of terms (custom taxonomies) used thru Polylang. It’s definitely destroying a big part of database.

    I also have a problem with this. It removes the “Link Categories from “Links”


    Same problem for me.

    I think this recent add on to the plugin is definitively not a good idea.

    I have open a new topic hoping that this mess will be be fixed.

    Plugin Author cageehv


    Hey guys,

    Just released v5.0.1 of my plugin.

    I’ve disabled the ‘Deletion of Duplicated Postmeta entries’ option.

    Sorry for any inconvenience!



    If it can helps, I think it’s because the “wp_term_relationships” table contains both relationship “post/categories” and “link/categories”.

    So for the ‘term_taxonomy_id’ that are flagged as ‘link_category’ in the ‘wp_term_taxonomy’ table, the ‘object_id’ field refers to a wp_link id not a wp_post id.


    The version 5.0.1 does not solve the problem cause the abusive deletion is not in the duplicated postmeta option but in the clear orpheans option.

    #	préfixe	type	id	title	modified	taxonomy	meta key	meta value
    1	wp_	term relationship	11	Liens		2		
    2	wp_	term relationship	12	Liens		2		
    3	wp_	term relationship	14	Liens		2	

    The version 5.0.1 does not solve the problem. Still flagging link categories as orphans and deleting them.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Orphaned Term Relationship’ is closed to new replies.