Opened 3 years ago
Closed 3 years ago
#14121 closed defect (bug) (fixed)
upload_space_check_disabled in upload_is_user_over_quota()
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | Multisite | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | SergeyBiryukov |
Description
wp-includes/ms-functions.php, line 1106:
function upload_is_user_over_quota( $echo = true ) {
if ( get_site_option( 'upload_space_check_disabled' ) )
return true;
...
}
I guess it's hard to exceed space quota when upload space check is disabled :) So we should return false.
It seems the control never gets there in this case, though.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.

(In [16299]) Return false if upload_space_check_disabled is true in upload_is_user_over_quota(). Props SergeyBiryukov. fixes #14121