diff --git a/wp-admin/includes/ms.php b/wp-admin/includes/ms.php index 42ff3f21d2..af5bd1abd4 100644 --- a/wp-admin/includes/ms.php +++ b/wp-admin/includes/ms.php @@ -217,10 +217,11 @@ function wpmu_delete_user( $id ) { * * @since MU (3.0.0) * - * @param bool $echo Optional. If $echo is set and the quota is exceeded, a warning message is echoed. Default is true. + * @param bool $display_message Optional. If set to true and the quota is exceeded, + * a warning message is displayed. Default true. * @return bool True if user is over upload space quota, otherwise false. */ -function upload_is_user_over_quota( $echo = true ) { +function upload_is_user_over_quota( $display_message = true ) { if ( get_site_option( 'upload_space_check_disabled' ) ) { return false; } @@ -232,7 +233,7 @@ function upload_is_user_over_quota( $echo = true ) { $space_used = get_space_used(); if ( ( $space_allowed - $space_used ) < 0 ) { - if ( $echo ) { + if ( $display_message ) { printf( /* translators: %s: Allowed space allocation. */ __( 'Sorry, you have used your space allocation of %s. Please delete some files to upload more files.' ), diff --git a/wp-includes/version.php b/wp-includes/version.php index 0fd2693526..c3021355c0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-beta1-53202'; +$wp_version = '6.0-beta1-53203'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.