Make WordPress Core


Ignore:
Timestamp:
03/23/2014 11:44:20 PM (11 years ago)
Author:
azaozz
Message:

Plupload: switch to urlstream upload method when the 'flash' runtime is used in non IE browsers. This ensures cookies are sent but limits the maximum file size that flash can handle.

By default only IE9 and older use flash so this change is mostly for completeness. It would affect only the (extremely rare) cases where a plugin disables the html5 runtime.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r27657 r27662  
    21772177
    21782178    $defaults = array(
    2179         'runtimes'            => 'html5,silverlight,flash,html4',
     2179        'runtimes'            => 'html5,flash,silverlight,html4',
    21802180        'file_data_name'      => 'async-upload', // key passed to $_FILE.
    21812181        'url'                 => admin_url( 'async-upload.php', 'relative' ),
Note: See TracChangeset for help on using the changeset viewer.