Changeset 52245 for trunk/src/wp-admin/includes/media.php
- Timestamp:
- 11/25/2021 08:34:01 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r52204 r52245 3741 3741 case 'matroska': 3742 3742 case 'webm': 3743 if ( isset( $metadata['matroska']['comments']['creation_time'][ '0'] ) ) {3744 $creation_date = strtotime( $metadata['matroska']['comments']['creation_time'][ '0'] );3745 } elseif ( isset( $metadata['matroska']['info'][ '0']['DateUTC_unix'] ) ) {3746 $creation_date = (int) $metadata['matroska']['info'][ '0']['DateUTC_unix'];3743 if ( isset( $metadata['matroska']['comments']['creation_time'][0] ) ) { 3744 $creation_date = strtotime( $metadata['matroska']['comments']['creation_time'][0] ); 3745 } elseif ( isset( $metadata['matroska']['info'][0]['DateUTC_unix'] ) ) { 3746 $creation_date = (int) $metadata['matroska']['info'][0]['DateUTC_unix']; 3747 3747 } 3748 3748 break; … … 3750 3750 case 'quicktime': 3751 3751 case 'mp4': 3752 if ( isset( $metadata['quicktime']['moov']['subatoms'][ '0']['creation_time_unix'] ) ) {3753 $creation_date = (int) $metadata['quicktime']['moov']['subatoms'][ '0']['creation_time_unix'];3752 if ( isset( $metadata['quicktime']['moov']['subatoms'][0]['creation_time_unix'] ) ) { 3753 $creation_date = (int) $metadata['quicktime']['moov']['subatoms'][0]['creation_time_unix']; 3754 3754 } 3755 3755 break;
Note: See TracChangeset
for help on using the changeset viewer.