Support » Plugin: qTranslate X » Stop hard-code slugs within plugin files

  • nsp-code

    (@nsp-code)


    Hello,
    Hopefully the developer of this plugin will see this topic as it become a bit of issues on this side.

    I’am one of maintainer for WP Hide & Security Enhancer and it’s we keep receiving support request for making the plugin to work fine with qTranslate X. The problem appear to be the hard-coded slugs within your plugin files. For example within qtranslate_core.php at function qtranxf_detect_language():

    if(strpos($http_referer,'/wp-admin')!==FALSE){

    But if the admin slug is changed from wp-admin to something else through our plugin WP-Hide the qTranslate X fail. Definitely this should e updated to use a different approach and not use hard coded, which is a bad practice.

    So at the moment many users ask for support regarding the above problem, unfortunate there’s nothing i can do from this side.

    There where other threads and topics opened regrading this problem, including a Github issue started at https://github.com/qTranslate-Team/qtranslate-x/issues/443

    For any help, please get in touch through plugin page or at http://www.wp-hide.com or http://www.nsp-code.com

    Thanks

Viewing 1 replies (of 1 total)
  • getifo

    (@getifo)

    This is truly a problem for me and I cannot have WP Hide & Security Enhancer and qTranslate at the same time!! When I change wp-admin url which is crucial for security of the website qTranslate stops working and make me crazy. I hope both parties work with each other to solve this problem.
    Thanks to you all
    Regards
    Shahab

Viewing 1 replies (of 1 total)
  • The topic ‘Stop hard-code slugs within plugin files’ is closed to new replies.