Changeset 51898
- Timestamp:
- 10/09/2021 02:49:02 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-site-health.php
r51815 r51898 1891 1891 */ 1892 1892 public function get_test_available_updates_disk_space() { 1893 $available_space = function_exists( 'disk_free_space' ) ? (int) @disk_free_space( WP_CONTENT_DIR . '/upgrade/' ) : false;1893 $available_space = function_exists( 'disk_free_space' ) ? (int) @disk_free_space( WP_CONTENT_DIR . '/upgrade/' ) : 0; 1894 1894 $available_space_in_mb = $available_space / MB_IN_BYTES; 1895 1895
Note: See TracChangeset
for help on using the changeset viewer.