From a9dd9406352bc0b60ce5f89666bb973d5b3b009c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 24 Oct 2015 14:32:27 +0000 Subject: [PATCH] Remove unused variable in `_WP_Editors::editor()`. Props Athsear. Fixes #34427. Built from https://develop.svn.wordpress.org/trunk@35380 git-svn-id: http://core.svn.wordpress.org/trunk@35344 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-editor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class-wp-editor.php b/wp-includes/class-wp-editor.php index 6610ab530c..9a67a480c4 100644 --- a/wp-includes/class-wp-editor.php +++ b/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'] ) {