mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-30 23:30:05 +00:00
Administration: Avoid an extra space in the admin body class.
Props jainnidhi, rhetorical, birgire, mathieuhays. Fixes #43465. git-svn-id: https://develop.svn.wordpress.org/trunk@42974 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1788,6 +1788,7 @@ if ( is_rtl() ) {
|
||||
<?php
|
||||
/** This filter is documented in wp-admin/admin-header.php */
|
||||
$admin_body_classes = apply_filters( 'admin_body_class', '' );
|
||||
$admin_body_classes = ltrim( $admin_body_classes . ' ' . $admin_body_class );
|
||||
?>
|
||||
<body
|
||||
<?php
|
||||
@@ -1798,7 +1799,7 @@ if ( isset( $GLOBALS['body_id'] ) ) {
|
||||
echo ' id="' . $GLOBALS['body_id'] . '"';
|
||||
}
|
||||
?>
|
||||
class="wp-admin wp-core-ui no-js iframe <?php echo $admin_body_classes . ' ' . $admin_body_class; ?>">
|
||||
class="wp-admin wp-core-ui no-js iframe <?php echo $admin_body_classes; ?>">
|
||||
<script type="text/javascript">
|
||||
(function(){
|
||||
var c = document.body.className;
|
||||
|
||||
Reference in New Issue
Block a user