WordPress.org

Ready to get started?Download WordPress

Forums

Qtranslate Slug
Plugin functions conflicts (2 posts)

  1. andreu
    Member
    Posted 1 year ago #

    Hi!

    I've installed your plugin with this other one http://wordpress.org/extend/plugins/custom-taxonomy-sort/ and they have a conflic. They both have approximately 8 functions with the same name. It would be good to customize the names in order to avoid this kind of problems.

    The functions in conflict are:
    update_termmeta_cache, add_term_meta, delete_term_meta, get_term_meta, update_term_meta, delete_term_meta_by_key, get_term_custom, get_term_custom_keys, get_term_custom_values
    I renamed all of them in the other plugin and now both are working fine.

    Cheers!

    http://wordpress.org/extend/plugins/qtranslate-slug/

  2. Carlos
    Member
    Plugin Author

    Posted 1 year ago #

    This plugin has a term functions for manage term metas, these functions follow the patterns of the API, and many plugins use the same functions for example simple term meta.

    The functions are exactly the same, so you can remove them for not having them repeated.

    I will add a conditionals to prevent duplicates in next versions, for now i just opened an issue here. It's targeted to 1.1.5.

    Thanks for the warning.
    C.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.