equal
deleted
inserted
replaced
29 function wpmu_checkAvailableSpace() { |
29 function wpmu_checkAvailableSpace() { |
30 _deprecated_function( __FUNCTION__, '3.0.0', 'is_upload_space_available()' ); |
30 _deprecated_function( __FUNCTION__, '3.0.0', 'is_upload_space_available()' ); |
31 |
31 |
32 if ( ! is_upload_space_available() ) { |
32 if ( ! is_upload_space_available() ) { |
33 wp_die( sprintf( |
33 wp_die( sprintf( |
34 /* translators: %s: allowed space allocation */ |
34 /* translators: %s: Allowed space allocation. */ |
35 __( 'Sorry, you have used your space allocation of %s. Please delete some files to upload more files.' ), |
35 __( 'Sorry, you have used your space allocation of %s. Please delete some files to upload more files.' ), |
36 size_format( get_space_allowed() * MB_IN_BYTES ) |
36 size_format( get_space_allowed() * MB_IN_BYTES ) |
37 ) ); |
37 ) ); |
38 } |
38 } |
39 } |
39 } |