Ensure $is_chrome is always defined.

git-svn-id: http://svn.automattic.com/wordpress/trunk@8826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2008-09-05 22:39:49 +00:00
parent 34e6722704
commit a2da0c0e99
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ if ( is_admin() ) {
}
// Simple browser detection
$is_lynx = $is_gecko = $is_winIE = $is_macIE = $is_opera = $is_NS4 = $is_safari = false;
$is_lynx = $is_gecko = $is_winIE = $is_macIE = $is_opera = $is_NS4 = $is_safari = $is_chrome = false;
if (strpos($_SERVER['HTTP_USER_AGENT'], 'Lynx') !== false) {
$is_lynx = true;