Skip to content

Commit 2b3d0d0

Browse files
committed
Merge branch 'trunk' into html-api/auto-escape-javascript-json
2 parents a697e9e + bd48357 commit 2b3d0d0

File tree

4 files changed

+52
-35
lines changed

4 files changed

+52
-35
lines changed

src/wp-admin/customize.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@
147147
$body_class .= ' rtl';
148148
}
149149
$body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_user_locale() ) ) );
150+
$admin_color = get_user_option( 'admin_color' );
151+
$body_class .= ' admin-color-' . sanitize_html_class( is_string( $admin_color ) ? $admin_color : '', 'fresh' );
150152

151153
if ( wp_use_widgets_block_editor() ) {
152154
$body_class .= ' wp-embed-responsive';

0 commit comments

Comments
 (0)