Changes from trunk/wp-includes/vars.php at r6554 to branches/2.6/wp-includes/vars.php at r8407
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.6/wp-includes/vars.php
r6554 r8407 35 35 36 36 // Simple browser detection 37 $is_lynx = $is_gecko = $is_winIE = $is_macIE = $is_opera = $is_NS4 = false;37 $is_lynx = $is_gecko = $is_winIE = $is_macIE = $is_opera = $is_NS4 = $is_safari = false; 38 38 39 39 if (strpos($_SERVER['HTTP_USER_AGENT'], 'Lynx') !== false) { 40 40 $is_lynx = true; 41 } elseif ( strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'webkit') !== false ) { 42 $is_safari = true; 41 43 } elseif (strpos($_SERVER['HTTP_USER_AGENT'], 'Gecko') !== false) { 42 44 $is_gecko = true;
Note: See TracChangeset
for help on using the changeset viewer.