Changeset 56497
- Timestamp:
- 08/30/2023 10:30:06 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r56494 r56497 3150 3150 $real_mime = finfo_file( $finfo, $file ); 3151 3151 finfo_close( $finfo ); 3152 3153 // finfo_file() returns redudant mime type for Google docs, see #57898. 3154 if ( 'application/vnd.openxmlformats-officedocument.wordprocessingml.documentapplication/vnd.openxmlformats-officedocument.wordprocessingml.document' === $real_mime ) { 3155 $real_mime = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'; 3156 } 3152 3157 3153 3158 // fileinfo often misidentifies obscure files as one of these types.
Note: See TracChangeset
for help on using the changeset viewer.