[wp-trac] [WordPress Trac] #14121: upload_space_check_disabled in upload_is_user_over_quota()
WordPress Trac
wp-trac at lists.automattic.com
Sun Jun 27 21:25:13 UTC 2010
#14121: upload_space_check_disabled in upload_is_user_over_quota()
----------------------------+-----------------------------------------------
Reporter: SergeyBiryukov | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Multisite | Version: 3.0
Severity: normal | Keywords: has-patch
----------------------------+-----------------------------------------------
{{{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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14121>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list