### Eclipse Workspace Patch 1.0
#P wordpress-trunk
|
|
|
191 | 191 | } |
192 | 192 | |
193 | 193 | $scripts->add( 'swfupload-handlers', "/wp-includes/js/swfupload/handlers$suffix.js", array('swfupload-all', 'jquery'), '2201-20100523'); |
194 | | $max_upload_size = ( (int) ( $max_up = @ini_get('upload_max_filesize') ) < (int) ( $max_post = @ini_get('post_max_size') ) ) ? $max_up : $max_post; |
| 194 | $max_upload_size = min( (int) @ini_get('upload_max_filesize'), (int) @ini_get('post_max_size') ); |
195 | 195 | if ( empty($max_upload_size) ) |
196 | 196 | $max_upload_size = __('not configured'); |
197 | 197 | // these error messages came from the sample swfupload js, they might need changing. |