[wp-trac] [WordPress Trac] #24051: a way of turning on upload space quota on single-site WordPress install
WordPress Trac
noreply at wordpress.org
Sat May 24 14:49:25 UTC 2014
#24051: a way of turning on upload space quota on single-site WordPress install
-----------------------------+------------------------------
Reporter: ideag | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 3.5.1
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Comment (by ericlewis):
attachment:24051.diff moves `get_upload_space_available()` and
`is_upload_space_available()` out of ms-functions.php and into media.php.
Wrap all existing checks in `get_upload_space_available()` in an
`is_multisite()` conditional, and create a new filter for the return of
`get_upload_space_available()`: `upload_space_available`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24051#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list