Remove debugging cruft, see #25663

git-svn-id: https://develop.svn.wordpress.org/trunk@27318 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2014-02-27 20:14:35 +00:00
parent a8c8ed3b94
commit 2dd4f585aa
2 changed files with 3 additions and 3 deletions

View File

@ -401,7 +401,7 @@ jQuery(document).ready(function($){
// init and set the uploader
uploader_init = function() {
uploader = new plupload.Uploader(wpUploaderInit);
//console.dir(uploader)
$('#image_resize').bind('change', function() {
var arg = $(this).prop('checked');
@ -415,7 +415,7 @@ jQuery(document).ready(function($){
uploader.bind('Init', function(up) {
var uploaddiv = $('#plupload-upload-ui');
window.console.dir('init...');window.console.dir(up);
setResize( getUserSetting('upload_resize', false) );
if ( up.features.dragdrop && ! $(document.body).hasClass('mobile') ) {

View File

@ -2053,7 +2053,7 @@ function wp_plupload_default_settings() {
$max_upload_size = wp_max_upload_size();
$defaults = array(
'runtimes' => 'flash,html4', // html5,silverlight,
'runtimes' => 'html5,silverlight,flash,html4',
'file_data_name' => 'async-upload', // key passed to $_FILE.
'url' => admin_url( 'async-upload.php', 'relative' ),
'flash_swf_url' => includes_url( 'js/plupload/Moxie.swf' ),