Ticket #20923: 20923.3.diff
File 20923.3.diff, 537 bytes (added by , 12 years ago) |
---|
-
wp-includes/functions.php
3694 3694 if ( strpos($ua, 'iPhone') !== false 3695 3695 || strpos($ua, 'iPad') !== false 3696 3696 || strpos($ua, 'iPod') !== false ) { 3697 return false; 3697 return preg_match( '#(iPod|iPad|iPhone); U; CPU( iPhone)? OS ([\d_]+) like Mac OS X#', $ua, $version ) 3698 && version_compare( $version[3], '6', '>=' ); 3698 3699 } else { 3699 3700 return true; 3700 3701 }