Changeset 40575 for trunk/src/wp-admin/includes/file.php
- Timestamp:
- 05/06/2017 02:29:01 PM (9 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
r39656 r40575 664 664 * Require we have enough space to unzip the file and copy its contents, with a 10% buffer. 665 665 */ 666 if ( defined( 'DOING_CRON' ) && DOING_CRON) {666 if ( wp_doing_cron() ) { 667 667 $available_space = @disk_free_space( WP_CONTENT_DIR ); 668 668 if ( $available_space && ( $uncompressed_size * 2.1 ) > $available_space ) … … 770 770 * Require we have enough space to unzip the file and copy its contents, with a 10% buffer. 771 771 */ 772 if ( defined( 'DOING_CRON' ) && DOING_CRON) {772 if ( wp_doing_cron() ) { 773 773 $available_space = @disk_free_space( WP_CONTENT_DIR ); 774 774 if ( $available_space && ( $uncompressed_size * 2.1 ) > $available_space )
Note: See TracChangeset
for help on using the changeset viewer.