#11757 closed enhancement (invalid)
redundant logic in max upload size checking
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Upload | Version: | 3.0 |
| Severity: | normal | Keywords: | multisite |
| Cc: |
Description
There are two functions, upload_is_file_too_big() and check_upload_size(), which appear to be doing something very similar. They should probably be merged.
Change History (5)
comment:2
miqrogroove — 3 years ago
-1 BORED
- Resolution set to invalid
- Status changed from new to closed
Looks are deceiving. They don't serve the same function and are both used via ms hooks.
Note: See
TracTickets for help on using
tickets.

+1; DRY.