Disable WordPress visual editor without losing media upload and insertion support

Disabling the visual text editor in a users settings page or by the following code in your functions.php file may have an unintended consequence. //hide visual editor add_filter('user_can_richedit', create_function('', 'return false;'), 50); While it will remove the visual editor it also removes media upload capabalities (without removing the ‘add media’ button to boot!). A way … Continued