[wp-trac] [WordPress Trac] #55926: Fatal error after entered the empty value for 'Max upload file size' in wordpress network
WordPress Trac
noreply at wordpress.org
Mon Jun 6 16:47:54 UTC 2022
#55926: Fatal error after entered the empty value for 'Max upload file size' in
wordpress network
-------------------------------------+-------------------------------------
Reporter: mjkhajeh | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.1
Component: Networks and Sites | Version:
Severity: critical | Resolution:
Keywords: has-patch php8 needs- | Focuses: administration,
refresh needs-unit-tests | multisite
-------------------------------------+-------------------------------------
Comment (by audrasjb):
Indeed, sanitizing the value with `absint()` seems like the best option so
far.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55926#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list