Update upload quota filled message to mention the limit and not suggest file deletion. fixes #13479
git-svn-id: https://develop.svn.wordpress.org/trunk@14897 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b417ff2148
commit
bf69494f84
@ -1434,7 +1434,7 @@ jQuery(document).ready(function($){
|
|||||||
<?php
|
<?php
|
||||||
// Check quota for this blog if multisite
|
// Check quota for this blog if multisite
|
||||||
if ( is_multisite() && !is_upload_space_available() ) {
|
if ( is_multisite() && !is_upload_space_available() ) {
|
||||||
echo '<p>' . __('Sorry, you must delete files before you can upload any more.') . '</p>';
|
echo '<p>' . sprintf( __( 'Sorry, you have filled your storage quota (%s MB).' ), get_space_allowed() ) . '</p>';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user