Can the new 4.8 widget visual editor in the default text widget be unhooked or removed and the widget restored to the pre-4.8 editor style?
I don't need or want the visual editor in widgets; I use them for plain text and html and don't need other users adding anything other than plain text.
I did learn how to remove the new video, audio and image widgets in functions.php as I don't need them:
// Unregister default WP Widgets function unregister_default_wp_widgets() { unregister_widget('WP_Widget_Media_Audio' ); unregister_widget('WP_Widget_Media_Image'); unregister_widget( 'WP_Widget_Media_Video' ); } add_action('widgets_init', 'unregister_default_wp_widgets', 1); But I also want to remove the visual editor tab from the default text widget.
Edit: I can use the PHP Code Widget https://wordpress.org/plugins/php-code-widget/ which does not have the visual editor, and though I don't usually need php execution, it is useful. But this adds the "break things" vector for users who might play with php.