Make WordPress Core

Changeset 21142


Ignore:
Timestamp:
06/26/2012 08:40:04 PM (12 years ago)
Author:
nacin
Message:

Add initial support for browser-based uploads in iOS 6. fixes #20923 for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.4/wp-includes/functions.php

    r21140 r21142  
    36163616        || strpos($ua, 'iPad') !== false
    36173617        || strpos($ua, 'iPod') !== false ) {
    3618             return false;
     3618            return preg_match( '#OS ([\d_]+) like Mac OS X#', $ua, $version ) && version_compare( $version[1], '6', '>=' );
    36193619    } else {
    36203620        return true;
Note: See TracChangeset for help on using the changeset viewer.