Changeset 57450
- Timestamp:
- 01/30/2024 06:00:03 PM (6 months ago)
- Location:
- branches/4.6/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.6/src
-
branches/4.6/src/wp-includes/functions.php
r54561 r57450 5 5 * @package WordPress 6 6 */ 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 7 59 8 60 require( ABSPATH . WPINC . '/option.php' ); … … 2358 2410 if ( $type !== $real_mime ) { 2359 2411 /* 2360 * Everything else including image/* and application/*: 2412 * Everything else including image/* and application/*: 2361 2413 * If the real content type doesn't match the file extension, assume it's dangerous. 2362 2414 */ … … 2367 2419 } 2368 2420 2369 // The mime type must be allowed 2421 // The mime type must be allowed 2370 2422 if ( $type ) { 2371 2423 $allowed = get_allowed_mime_types();
Note: See TracChangeset
for help on using the changeset viewer.