WordPress/wp-includes
Jeremy Felt c122491c70 Exclude individual site directories when calculating space used for the main site.
* Add an `$exclude` parameter to `recurse_dirsize()`.
* Use this parameter in `get_dirsize()` to exclude `/sites` when on the main site.
* Add tests for main site and switched site.

Props @earnjam, @jeremyfelt.
Fixes #30202.

Built from https://develop.svn.wordpress.org/trunk@33184


git-svn-id: http://core.svn.wordpress.org/trunk@33156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 00:07:24 +00:00
..
2015-06-28 00:17:25 +00:00
2015-06-28 15:27:24 +00:00
2015-06-28 15:27:24 +00:00
2015-06-28 15:27:24 +00:00
2015-05-26 18:53:27 +00:00
2015-06-16 20:01:25 +00:00
2015-05-26 21:51:31 +00:00
2015-07-01 14:48:24 +00:00
2015-06-16 20:01:25 +00:00
2015-06-28 15:27:24 +00:00
2015-06-28 15:27:24 +00:00