WordPress4.0アップグレードとCKEditor問題が解決

9月11日「WordPress4.0アップグレードとCKEditor」で、4.0にアップグレードするとCKEditorが機能しなくなることを記事にしたが、とりあえず解決法を見つけたので、参考までにご報告。
WordPress.ORG>Supportページにてvokielさんという方が解決法を伝授しており、その通りに試してみたら機能した。こちらを参考>CKEditor for WordPress not working on WordPress 4.0

themeフォルダのfunctions.php(wp-content>theme>自分の使っているテーマのフォルダ>functions.php)に次のコードを加える。

// Deregister editor-expand as it breaks CKEditor integration
function custom_deregister_editor_expand() {
  wp_deregister_script('editor-expand');
}
add_action( 'admin_init', 'custom_deregister_editor_expand' );

この記事は、現在WordPress4.0にアップグレード済みで、CKEditorで書き込み中。今のところ、私はこれで問題なく動いているみたい。

フォローする