Changeset 49049
- Timestamp:
- 09/26/2020 01:09:52 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r49042 r49049 2934 2934 'text/plain', 2935 2935 'text/csv', 2936 'application/csv', 2936 2937 'text/richtext', 2937 2938 'text/tsv', 2938 2939 'text/vtt', 2940 ), 2941 true 2942 ) 2943 ) { 2944 $type = false; 2945 $ext = false; 2946 } 2947 } elseif ( 'application/csv' === $real_mime ) { 2948 // Special casing for CSV files. 2949 if ( ! in_array( 2950 $type, 2951 array( 2952 'text/csv', 2953 'text/plain', 2954 'application/csv', 2939 2955 ), 2940 2956 true
Note: See TracChangeset
for help on using the changeset viewer.