Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#11757 closed enhancement (invalid)

redundant logic in max upload size checking

Reported by: Denis-de-Bernardy Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Upload Keywords:
Focuses: multisite Cc:


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)

#1 @hakre
11 years ago

+1; DRY.

#2 @miqrogroove
11 years ago


#3 @nacin
11 years ago

  • Keywords multisite added

#4 @wpmuguru
11 years ago

  • 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.

#5 @nacin
10 years ago

  • Milestone 3.0 deleted
Note: See TracTickets for help on using tickets.