Ticket #14121: fix_upload_is_user_over_quota_when_space_check_is_disabled.patch
| File fix_upload_is_user_over_quota_when_space_check_is_disabled.patch, 445 bytes (added by SergeyBiryukov, 3 years ago) |
|---|
-
ms-functions.php
1105 1105 1106 1106 function upload_is_user_over_quota( $echo = true ) { 1107 1107 if ( get_site_option( 'upload_space_check_disabled' ) ) 1108 return true;1108 return false; 1109 1109 1110 1110 $spaceAllowed = get_space_allowed(); 1111 1111 if ( empty( $spaceAllowed ) || !is_numeric( $spaceAllowed ) )
