Opened 16 years ago
Closed 16 years ago
#14121 closed defect (bug) (fixed)
upload_space_check_disabled in upload_is_user_over_quota()
| Reported by: | SergeyBiryukov | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | Multisite | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [16299]) Return false if upload_space_check_disabled is true in upload_is_user_over_quota(). Props SergeyBiryukov. fixes #14121