From f766459b177b2efa424f0ce133299513680e88b2 Mon Sep 17 00:00:00 2001 From: Paul Kevan Date: Wed, 25 Oct 2017 10:37:24 +0100 Subject: [PATCH] Remove the deprecated options from Plupload In WP 4.9 support for Flash and Silverlight is no longer supported, see https://core.trac.wordpress.org/ticket/41755#no0 for more details. --- liveblog.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/liveblog.php b/liveblog.php index 6b4d788ea..73a945342 100644 --- a/liveblog.php +++ b/liveblog.php @@ -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,