Distraction Free Writing mode, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -12,12 +12,6 @@ if ( !defined('ABSPATH') )
|
||||
|
||||
wp_enqueue_script('post');
|
||||
|
||||
if ( post_type_supports($post_type, 'editor') ) {
|
||||
if ( user_can_richedit() )
|
||||
wp_enqueue_script('editor');
|
||||
wp_enqueue_script('word-count');
|
||||
}
|
||||
|
||||
if ( post_type_supports($post_type, 'editor') || post_type_supports($post_type, 'thumbnail') ) {
|
||||
add_thickbox();
|
||||
wp_enqueue_script('media-upload');
|
||||
|
||||
Reference in New Issue
Block a user