Make WordPress Core

Changeset 21141


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

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

File:
1 edited

Legend:

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

    r21133 r21141  
    36003600        || strpos($ua, 'iPad') !== false
    36013601        || strpos($ua, 'iPod') !== false ) {
    3602             return false;
    3603     } else {
    3604         return true;
    3605     }
    3606 }
    3607 
     3602            return preg_match( '#OS ([\d_]+) like Mac OS X#', $ua, $version ) && version_compare( $version[1], '6', '>=' );
     3603    }
     3604
     3605    return true;
     3606}
     3607
Note: See TracChangeset for help on using the changeset viewer.