diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index d8d82a0c98..f8fac13914 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1453,6 +1453,10 @@ do_action("admin_head-$hook_suffix"); do_action('admin_head'); $admin_body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_locale() ) ) ); + +if ( is_rtl() ) + $admin_body_class .= ' rtl'; + ?> class="wp-admin wp-core-ui no-js iframe ">