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