Admin bar: add class for IE9 and fix background color in search, props SergeyBiryukov, see #19151

git-svn-id: https://develop.svn.wordpress.org/trunk@19407 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2011-11-22 21:35:08 +00:00
parent 3316f10905
commit 91431801a1
3 changed files with 8 additions and 1 deletions
+2
View File
@@ -150,6 +150,8 @@ class WP_Admin_Bar {
$class .= ' ie7';
elseif ( strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE 8' ) )
$class .= ' ie8';
elseif ( strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE 9' ) )
$class .= ' ie9';
} elseif ( $is_iphone ) {
$class .= ' mobile';
}