Changeset 52585 for trunk/src/wp-admin/includes/file.php
- Timestamp:
- 01/17/2022 11:39:35 AM (4 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/file.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r52425 r52585 1662 1662 */ 1663 1663 if ( wp_doing_cron() ) { 1664 $available_space = @disk_free_space( WP_CONTENT_DIR );1664 $available_space = function_exists( 'disk_free_space' ) ? @disk_free_space( WP_CONTENT_DIR ) : false; 1665 1665 1666 1666 if ( $available_space && ( $uncompressed_size * 2.1 ) > $available_space ) { … … 1803 1803 */ 1804 1804 if ( wp_doing_cron() ) { 1805 $available_space = @disk_free_space( WP_CONTENT_DIR );1805 $available_space = function_exists( 'disk_free_space' ) ? @disk_free_space( WP_CONTENT_DIR ) : false; 1806 1806 1807 1807 if ( $available_space && ( $uncompressed_size * 2.1 ) > $available_space ) {
Note: See TracChangeset
for help on using the changeset viewer.