diff --git a/src/wp-admin/admin-header.php b/src/wp-admin/admin-header.php
index cbce31b59f..7ec7dacb65 100644
|
a
|
b
|
$admin_body_class .= ' no-customize-support no-svg'; |
| 205 | 205 | */ |
| 206 | 206 | $admin_body_classes = apply_filters( 'admin_body_class', '' ); |
| 207 | 207 | ?> |
| 208 | | <body class="wp-admin wp-core-ui no-js <?php echo $admin_body_classes . ' ' . $admin_body_class; ?>"> |
| | 208 | <body class="wp-admin wp-core-ui no-js <?php echo ltrim( $admin_body_classes . ' ' . $admin_body_class ); ?>"> |
| 209 | 209 | <script type="text/javascript"> |
| 210 | 210 | document.body.className = document.body.className.replace('no-js','js'); |
| 211 | 211 | </script> |
diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php
index 66fb943b85..34d476ee58 100644
|
a
|
b
|
if ( isset( $GLOBALS['body_id'] ) ) { |
| 1798 | 1798 | echo ' id="' . $GLOBALS['body_id'] . '"'; |
| 1799 | 1799 | } |
| 1800 | 1800 | ?> |
| 1801 | | class="wp-admin wp-core-ui no-js iframe <?php echo $admin_body_classes . ' ' . $admin_body_class; ?>"> |
| | 1801 | class="wp-admin wp-core-ui no-js iframe <?php echo ltrim( $admin_body_classes . ' ' . $admin_body_class ); ?>"> |
| 1802 | 1802 | <script type="text/javascript"> |
| 1803 | 1803 | (function(){ |
| 1804 | 1804 | var c = document.body.className; |
| … |
… |
function _wp_admin_html_begin() { |
| 2165 | 2165 | ?> |
| 2166 | 2166 | <!DOCTYPE html> |
| 2167 | 2167 | <!--[if IE 8]> |
| 2168 | | <html xmlns="http://www.w3.org/1999/xhtml" class="ie8 <?php echo $admin_html_class; ?>" |
| | 2168 | <html xmlns="http://www.w3.org/1999/xhtml" class="ie8 <?php echo $admin_html_class; ?>" |
| 2169 | 2169 | <?php |
| 2170 | 2170 | /** |
| 2171 | 2171 | * Fires inside the HTML tag in the admin header. |
| … |
… |
function _wp_admin_html_begin() { |
| 2177 | 2177 | <?php language_attributes(); ?>> |
| 2178 | 2178 | <![endif]--> |
| 2179 | 2179 | <!--[if !(IE 8) ]><!--> |
| 2180 | | <html xmlns="http://www.w3.org/1999/xhtml" class="<?php echo $admin_html_class; ?>" |
| | 2180 | <html xmlns="http://www.w3.org/1999/xhtml" class="<?php echo $admin_html_class; ?>" |
| 2181 | 2181 | <?php |
| 2182 | 2182 | /** This action is documented in wp-admin/includes/template.php */ |
| 2183 | 2183 | do_action( 'admin_xml_ns' ); |