- Timestamp:
- 08/22/2017 11:51:11 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-file-upload-upgrader.php
r41161 r41289 80 80 $this->id = wp_insert_attachment( $object, $file['file'] ); 81 81 82 // Schedule a cleanup for 2 hours from now in case of failed install .82 // Schedule a cleanup for 2 hours from now in case of failed installation. 83 83 wp_schedule_single_event( time() + 2 * HOUR_IN_SECONDS, 'upgrader_scheduled_cleanup', array( $this->id ) ); 84 84
Note: See TracChangeset
for help on using the changeset viewer.