Update WordPress to 5.2
This commit is contained in:
parent
489b5a5914
commit
e00f87f2f5
599 changed files with 119573 additions and 55990 deletions
|
@ -6234,7 +6234,14 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||
}
|
||||
|
||||
if ( is_multisite() && upload_is_user_over_quota( false ) ) {
|
||||
$this->error = new IXR_Error( 401, __( 'Sorry, you have used your space allocation.' ) );
|
||||
$this->error = new IXR_Error(
|
||||
401,
|
||||
sprintf(
|
||||
/* translators: %s: allowed space allocation */
|
||||
__( 'Sorry, you have used your space allocation of %s. Please delete some files to upload more files.' ),
|
||||
size_format( get_space_allowed() * MB_IN_BYTES )
|
||||
)
|
||||
);
|
||||
return $this->error;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue