From a quick look around, it seems that in the wp-includes/media.php file there's a wp_max_upload_size function that governs how large Wordpress thinks a media file can be:
Code: Select all
function wp_max_upload_size() {
$u_bytes = wp_convert_hr_to_bytes( ini_get( 'upload_max_filesize' ) );
$p_bytes = wp_convert_hr_to_bytes( ini_get( 'post_max_size' ) );
$bytes = apply_filters( 'upload_size_limit', min( $u_bytes, $p_bytes ), $u_bytes, $p_bytes );
return $bytes;
}
So I'm no sure what other than "upload_max_filesize" and "post_max_size" would be involved here. I don't see where else Wordpress gets this setting internally.