mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Auto-column switching for the dashboard (js based), see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18667 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -98,6 +98,9 @@ if ( is_admin_bar_showing() )
|
||||
if ( is_rtl() )
|
||||
$admin_body_class .= ' rtl';
|
||||
|
||||
if ( get_user_setting('responsive') )
|
||||
$admin_body_class .= ' responsive';
|
||||
|
||||
$admin_body_class .= ' branch-' . str_replace( array( '.', ',' ), '-', floatval( $wp_version ) );
|
||||
$admin_body_class .= ' version-' . str_replace( '.', '-', preg_replace( '/^([.0-9]+).*/', '$1', $wp_version ) );
|
||||
$admin_body_class .= ' admin-color-' . sanitize_html_class( get_user_option( 'admin_color' ), 'fresh' );
|
||||
|
||||
Reference in New Issue
Block a user