[wp-trac] [WordPress Trac] #30202: In multisite, the "storage space used" is incorrectly calculated for the main blog/site.
WordPress Trac
noreply at wordpress.org
Tue Jun 2 20:06:01 UTC 2015
#30202: In multisite, the "storage space used" is incorrectly calculated for the
main blog/site.
----------------------------------------+-----------------------------
Reporter: rebekahickey | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Networks and Sites | Version: 4.0
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses: multisite
----------------------------------------+-----------------------------
Comment (by earnjam):
[attachment:30202.tests.diff] is some tests for `get_space_used()`
[attachment:30202.1.diff] adds in some additional checks to prevent
caching or serving a cached value when the exclude parameter is passed
unless it is on the main site. This way we don't end up with incorrect
values.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30202#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list