Changes between Initial Version and Version 1 of Ticket #58513, comment 1
- Timestamp:
- 06/12/2023 11:25:04 AM (22 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #58513, comment 1
initial v1 3 3 Worth noting this was initially discovered on a multisite installation, but also tested on a fresh WP setup, non-multisite, after allowing JSON file upload with: 4 4 5 6 ``` 5 {{{#!php 7 6 add_filter('upload_mimes', function ($mimes) { 8 7 $mimes['json'] = 'text/plain'; 9 8 return $mimes; 10 9 }); 11 ``` 10 }}} 11 12 12 13 13 > When uploading a JSON file of exactly 1048577 bytes or less leads to: