From ab37690438482558145a271bf77bad2d774332b3 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Mon, 12 Nov 2018 13:56:41 +0000 Subject: [PATCH] Fix linting after [43889]. See #45264. git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43890 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/js/tinymce/plugins/wordpress/plugin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js b/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js index 45c3c13387..62872d2d2a 100644 --- a/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js +++ b/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js @@ -19,7 +19,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) { } function toggleToolbars( state ) { - var iframe, initial, toolbars, + var initial, toolbars, pixels = 0, classicBlockToolbar = tinymce.$( '.block-library-classic__toolbar' ); @@ -437,7 +437,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) { editor.addButton( 'wp_add_media', { tooltip: 'Add Media', icon: 'dashicon dashicons-admin-media', - cmd: 'WP_Medialib', + cmd: 'WP_Medialib' } ); editor.addMenuItem( 'add_media', {