Wordpress 3.5
[autoinstalls/wordpress.git] / wp-includes / vars.php
index 7585793df7ea5594ce41b65fce68a83f2cd423d2..23e0e5804f1c610c5631335a9b8e23ebd8f23059 100644 (file)
@@ -116,7 +116,8 @@ function wp_is_mobile() {
                || strpos($_SERVER['HTTP_USER_AGENT'], 'Silk/') !== false
                || strpos($_SERVER['HTTP_USER_AGENT'], 'Kindle') !== false
                || strpos($_SERVER['HTTP_USER_AGENT'], 'BlackBerry') !== false
-               || strpos($_SERVER['HTTP_USER_AGENT'], 'Opera Mini') !== false ) {
+               || strpos($_SERVER['HTTP_USER_AGENT'], 'Opera Mini') !== false
+               || strpos($_SERVER['HTTP_USER_AGENT'], 'Opera Mobi') !== false ) {
                        $is_mobile = true;
        } else {
                $is_mobile = false;