Workaround response truncation by reducing size of response after uploading with flash uploader. Props tellyworth. fixes #6713

git-svn-id: https://develop.svn.wordpress.org/trunk@7682 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-04-14 23:09:14 +00:00
parent 307c2ac093
commit a58816e2ab
4 changed files with 30 additions and 6 deletions
+2 -1
View File
@@ -804,7 +804,8 @@ jQuery(function($){
"post_id" : "<?php echo $post_id; ?>",
"auth_cookie" : "<?php echo $_COOKIE[AUTH_COOKIE]; ?>",
"type" : "<?php echo $type; ?>",
"tab" : "<?php echo $tab; ?>"
"tab" : "<?php echo $tab; ?>",
"short" : "1"
},
file_size_limit : "<?php echo wp_max_upload_size(); ?>b",
swfupload_element_id : "flash-upload-ui", // id of the element displayed when swfupload is available