Skip to content

QTranslate-XT removing compatibility functions #843

@peteroatley

Description

@peteroatley

QTranslate-XT is removing the compatibility functions option
qtranslate/qtranslate-xt#1461

It is a configuration option on each site that uses QTranslate-XT and is turned on but do we need it? The author of QTranslate-XT doesn't think it is used.

Here is an example:
https://www.webonary.org/test-oatley-fr/wp-admin/options-general.php?page=qtranslate-xt#integration

Deprecated.
Enable function name compatibility (qtrans_convertURL, qtrans_getAvailableLanguages, qtrans_generateLanguageSelectCode, qtrans_getLanguage, qtrans_getLanguageName,
qtrans_getSortedLanguages, qtrans join, qtrans_split, qtrans_use, qtrans_useCurrentLanguagelfNotFoundShowAvailable, qtrans_useCurrentLanguagelfNotFoundUseDefaultLanguage
qtrans_useDefaultLanguage, qtrans_useTermLib).

Some plugins and themes use direct calls to the functions listed, which are defined in former qTranslate plugin and some of its forks. Turning this flag on will enable those function to exists, which will make the dependent plugins and themes to work. WordPress policy prohibits to define functions with the same names as in other plugins, since it generates user-unfriendly fatal errors, when two conflicting plugins are activated simultaneously. Before turning this option on, you have to make sure that there are no other plugins active, which define those functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    high prioritySomething that should be given priority in fixing or implementingwordpress

    Type

    No type

    Projects

    Status

    Done - Working in Prod

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions