WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/04/2012 04:04:54 PM (6 years ago)
Author:
ryan
Message:

Update Fire browser detection. Handle silke mode. Props azaozz, nacin, georgestephanis. fixes #20014

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/vars.php

    r20417 r20990  
    114114    } elseif ( strpos($_SERVER['HTTP_USER_AGENT'], 'Mobile') !== false // many mobile devices (all iPhone, iPad, etc.)
    115115        || strpos($_SERVER['HTTP_USER_AGENT'], 'Android') !== false
     116        || strpos($_SERVER['HTTP_USER_AGENT'], 'Silk/') !== false
     117        || strpos($_SERVER['HTTP_USER_AGENT'], 'Kindle') !== false
    116118        || strpos($_SERVER['HTTP_USER_AGENT'], 'BlackBerry') !== false
    117119        || strpos($_SERVER['HTTP_USER_AGENT'], 'Opera Mini') !== false ) {
Note: See TracChangeset for help on using the changeset viewer.