mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
remove debug cruft and set swfupload max file size to match php ini. Props andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7067 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -616,6 +616,7 @@ jQuery(function($){
|
||||
"auth_cookie" : "<?php echo $_COOKIE[AUTH_COOKIE]; ?>",
|
||||
"type" : "media"
|
||||
},
|
||||
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
|
||||
degraded_element_id : "html-upload-ui", // when swfupload is unavailable
|
||||
swfupload_loaded_handler : uploadLoaded,
|
||||
|
||||
Reference in New Issue
Block a user