Remove debugging cruft, see #25663
Built from https://develop.svn.wordpress.org/trunk@27318 git-svn-id: http://core.svn.wordpress.org/trunk@27170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
cf1d899cc8
commit
21b74a037d
|
@ -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') ) {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -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' ),
|
||||
|
|
Loading…
Reference in New Issue