Changeset 46421 for trunk/src/wp-admin/includes/media.php
- Timestamp:
- 10/07/2019 03:28:29 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r46382 r46421 409 409 410 410 if ( ! is_wp_error( $attachment_id ) ) { 411 // Set a custom header with the attachment_id. 412 // Used by the browser/client to resume creating image sub-sizes after a PHP fatal error. 413 if ( ! headers_sent() ) { 414 header( 'X-WP-Upload-Attachment-ID: ' . $attachment_id ); 415 } 416 411 417 // The image sub-sizes are created during wp_generate_attachment_metadata(). 412 418 // This is generally slow and may cause timeouts or out of memory errors.
Note: See TracChangeset
for help on using the changeset viewer.