diff --git a/src/wp-admin/admin-header.php b/src/wp-admin/admin-header.php index cd068f1f9b..d2b5fda09e 100644 --- a/src/wp-admin/admin-header.php +++ b/src/wp-admin/admin-header.php @@ -192,10 +192,6 @@ $admin_body_class .= ' no-customize-support no-svg'; if ( $current_screen->is_block_editor() ) { // Default to is-fullscreen-mode to avoid jumps in the UI. $admin_body_class .= ' block-editor-page is-fullscreen-mode wp-embed-responsive'; - - if ( current_theme_supports( 'editor-styles' ) && current_theme_supports( 'dark-editor-style' ) ) { - $admin_body_class .= ' is-dark-theme'; - } } $error_get_last = error_get_last();