Skip to content

Commit

Permalink
Merge pull request #318 from Automattic/automattic/fix-plupload
Browse files Browse the repository at this point in the history
Remove the deprecated options from Plupload
  • Loading branch information
pkevan authored Oct 26, 2017
2 parents 4af2314 + f766459 commit e45f5af
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions liveblog.php
Original file line number Diff line number Diff line change
Expand Up @@ -933,13 +933,10 @@ private static function add_default_plupload_settings() {
global $wp_scripts;

$defaults = array(
'runtimes' => 'html5,silverlight,flash,html4',
'file_data_name' => 'async-upload',
'multiple_queues' => true,
'max_file_size' => wp_max_upload_size() . 'b',
'url' => admin_url( 'admin-ajax.php', 'relative' ),
'flash_swf_url' => includes_url( 'js/plupload/plupload.flash.swf' ),
'silverlight_xap_url' => includes_url( 'js/plupload/plupload.silverlight.xap' ),
'filters' => array( array( 'title' => __( 'Allowed Files', 'liveblog' ), 'extensions' => '*') ),
'multipart' => true,
'urlstream_upload' => true,
Expand Down

0 comments on commit e45f5af

Please sign in to comment.