Ticket #19247: 19247.2.patch
File 19247.2.patch, 808 bytes (added by , 12 years ago) |
---|
-
wp-admin/admin-header.php
80 80 if ( is_rtl() ) 81 81 $admin_body_class .= ' rtl'; 82 82 83 if ( ! empty( $current_screen->post_type ) ) 84 $admin_body_class .= ' post-type-' . $current_screen->post_type; 85 86 if ( ! empty( $current_screen->taxonomy ) ) 87 $admin_body_class .= ' taxonomy-' . $current_screen->taxonomy; 88 83 89 $admin_body_class .= ' branch-' . str_replace( array( '.', ',' ), '-', floatval( $wp_version ) ); 84 90 $admin_body_class .= ' version-' . str_replace( '.', '-', preg_replace( '/^([.0-9]+).*/', '$1', $wp_version ) ); 85 91 $admin_body_class .= ' admin-color-' . sanitize_html_class( get_user_option( 'admin_color' ), 'fresh' );