Here’s a quick fix that will help you to have Qtranslate fully compatible with WP 4.0.1
1.) Edit this file qtranslate.php
Modify this line: define(‘QT_SUPPORTED_WP_VERSION’, ‘3.8.1’);
to define(‘QT_SUPPORTED_WP_VERSION’, ‘4.0.1’);
2. ) After this line require_once(dirname(__FILE__).”/ppqtranslate_configuration.php”);
Add this :
//This will fix the editor
add_filter(‘wp_editor_expand’, ‘ppqtrans_noEditorExpand’);
function ppqtrans_noEditorExpand(){return false;}