Stop hard-code slugs within plugin files
-
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 https://www.wp-hide.com or https://www.nsp-code.com
Thanks
- The topic ‘Stop hard-code slugs within plugin files’ is closed to new replies.