From 3e5dd9c91c401c1489dab6debc2bcf5bc9b3f26a Mon Sep 17 00:00:00 2001 From: donncha Date: Mon, 15 Oct 2007 11:31:33 +0000 Subject: Move custom upload functions into mu.php Added get_space_allowed() git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1071 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-admin/includes/upload.php | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'wp-admin/includes/upload.php') diff --git a/wp-admin/includes/upload.php b/wp-admin/includes/upload.php index 61b042b..9d3fda1 100644 --- a/wp-admin/includes/upload.php +++ b/wp-admin/includes/upload.php @@ -183,30 +183,6 @@ function wp_upload_form() { Buy more'; // open in new window in case they have a post open - - /* - if( $space < 10000 ) { - $buymore = 'Buy more space'; // open in new window in case they have a post open - if( get_option( 'use_upgraded_upload_filetypes' ) != '1' ) { $buymore .= __( " and you can upload " ) . str_replace( " ", ", ", get_site_option( "upgraded_upload_filetypes" ) ) . __(" files");} - } - */ - if( $space > 1000 ) { - $space = number_format( $space / 1024 ); - $space .= "GB"; - } else { - $space .= "MB"; - } - ?> - Used: % of -