mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 19:24:34 +00:00
Bring out the shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@17228 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -349,7 +349,7 @@ function upload_size_limit_filter( $size ) {
|
||||
$fileupload_maxk = 1024 * get_site_option( 'fileupload_maxk', 1500 );
|
||||
if ( get_site_option( 'upload_space_check_disabled' ) )
|
||||
return min( $size, $fileupload_maxk );
|
||||
|
||||
|
||||
return min( $size, $fileupload_maxk, get_upload_space_available() );
|
||||
}
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user