Ticket #24252: 24252.2.diff
File 24252.2.diff, 671 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/vars.php
130 130 $is_mobile = false; 131 131 } elseif ( strpos($_SERVER['HTTP_USER_AGENT'], 'Mobile') !== false // many mobile devices (all iPhone, iPad, etc.) 132 132 || strpos($_SERVER['HTTP_USER_AGENT'], 'Android') !== false 133 || strpos($_SERVER['HTTP_USER_AGENT'], 'Windows Phone') !== false 133 134 || strpos($_SERVER['HTTP_USER_AGENT'], 'Silk/') !== false 134 135 || strpos($_SERVER['HTTP_USER_AGENT'], 'Kindle') !== false 135 136 || strpos($_SERVER['HTTP_USER_AGENT'], 'BlackBerry') !== false