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