From 9da02a9155cf15bd25a891802f90db285103810f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 24 Oct 2015 14:31:05 +0000 Subject: [PATCH] Remove unused variable in `_WP_Editors::editor()`. Props Athsear. Fixes #34427. git-svn-id: https://develop.svn.wordpress.org/trunk@35380 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-editor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class-wp-editor.php b/src/wp-includes/class-wp-editor.php index 6610ab530c..9a67a480c4 100644 --- a/src/wp-includes/class-wp-editor.php +++ b/src/wp-includes/class-wp-editor.php @@ -147,7 +147,7 @@ final class _WP_Editors { $editor_class = ' class="' . trim( esc_attr( $set['editor_class'] ) . ' wp-editor-area' ) . '"'; $tabindex = $set['tabindex'] ? ' tabindex="' . (int) $set['tabindex'] . '"' : ''; $default_editor = 'html'; - $toolbar = $buttons = $autocomplete = ''; + $buttons = $autocomplete = ''; $editor_id_attr = esc_attr( $editor_id ); if ( $set['drag_drop_upload'] ) {