From b5c233a1b56a00e3c1bd5918938902cd8f264aff Mon Sep 17 00:00:00 2001 From: nacin Date: Tue, 4 May 2010 08:41:46 +0000 Subject: [PATCH] @since for some new ms functions re: upload file size limits. see #12853. git-svn-id: http://svn.automattic.com/wordpress/trunk@14437 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/ms.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wp-admin/includes/ms.php b/wp-admin/includes/ms.php index 80d5c9cd6e..cb5c10be43 100644 --- a/wp-admin/includes/ms.php +++ b/wp-admin/includes/ms.php @@ -393,6 +393,7 @@ function get_site_allowed_themes() { /** * Determines if there is any upload space left in the current blog's quota. * + * @since 3.0.0 * @return bool True if space is available, false otherwise. */ function is_upload_space_available() { @@ -405,6 +406,9 @@ function is_upload_space_available() { return true; } +/* + * @since 3.0.0 + */ function upload_size_limit_filter( $size ) { return min( $size, get_upload_space_available() ); }