Make WordPress Core


Ignore:
Timestamp:
07/30/2012 07:40:52 PM (12 years ago)
Author:
azaozz
Message:

TinyMCE: better exclusion of Opera mobile, fixes #21416

File:
1 edited

Legend:

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

    r20990 r21367  
    117117        || strpos($_SERVER['HTTP_USER_AGENT'], 'Kindle') !== false
    118118        || strpos($_SERVER['HTTP_USER_AGENT'], 'BlackBerry') !== false
    119         || strpos($_SERVER['HTTP_USER_AGENT'], 'Opera Mini') !== false ) {
     119        || strpos($_SERVER['HTTP_USER_AGENT'], 'Opera Mini') !== false
     120        || strpos($_SERVER['HTTP_USER_AGENT'], 'Opera Mobi') !== false ) {
    120121            $is_mobile = true;
    121122    } else {
Note: See TracChangeset for help on using the changeset viewer.