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
This commit is contained in:
parent
a001771ec4
commit
9da02a9155
|
@ -147,7 +147,7 @@ final class _WP_Editors {
|
||||||
$editor_class = ' class="' . trim( esc_attr( $set['editor_class'] ) . ' wp-editor-area' ) . '"';
|
$editor_class = ' class="' . trim( esc_attr( $set['editor_class'] ) . ' wp-editor-area' ) . '"';
|
||||||
$tabindex = $set['tabindex'] ? ' tabindex="' . (int) $set['tabindex'] . '"' : '';
|
$tabindex = $set['tabindex'] ? ' tabindex="' . (int) $set['tabindex'] . '"' : '';
|
||||||
$default_editor = 'html';
|
$default_editor = 'html';
|
||||||
$toolbar = $buttons = $autocomplete = '';
|
$buttons = $autocomplete = '';
|
||||||
$editor_id_attr = esc_attr( $editor_id );
|
$editor_id_attr = esc_attr( $editor_id );
|
||||||
|
|
||||||
if ( $set['drag_drop_upload'] ) {
|
if ( $set['drag_drop_upload'] ) {
|
||||||
|
|
Loading…
Reference in New Issue