wpmu_checkAvailableSpace() – Determines if the available space defined by the admin has been exceeded by the user.

You appear to be a bot. Output may be restricted

Description

Determines if the available space defined by the admin has been exceeded by the user.

Usage

wpmu_checkAvailableSpace();

Parameters

Returns

void

Source

File name: wordpress/wp-admin/includes/ms-deprecated.php
Lines:

1 to 11 of 11
function wpmu_checkAvailableSpace() {
  _deprecated_function( wpmu_checkAvailableSpace, '3.0.0', 'is_upload_space_available()' );

  if ( ! is_upload_space_available() ) {
    wp_die( 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 )
    ) );
  }
}
 

 View on GitHub View on Trac