Opened 7 years ago

Closed 6 years ago

#2596 closed defect (bug) (fixed)

Need a way to limit size of uploads

Reported by: markjaquith Owned by: rob1n
Priority: normal Milestone: 2.3
Component: Administration Version: 2.1
Severity: normal Keywords:
Cc:

Description

It appears that the fileupload_maxk setting used in WP 1.5.x is no longer used in WP 2.x, which means that there is easy way to limit the size of uploads. It'd at least be nice for this to be hookable by a plugin.

Attachments (1)

fileupload_maxk.patch (5.7 KB) - added by 433 6 years ago.
Changed: 1) store value in database and print value on form in KB, not bytes AND 2) ensure fileupload_maxk is an integer

Download all attachments as: .zip

Change History (9)

comment:1   matt6 years ago

  • Milestone changed from 2.1 to 2.2

comment:2   4336 years ago

  • Owner changed from anonymous to 433
  • Status changed from new to assigned

4336 years ago

Changed: 1) store value in database and print value on form in KB, not bytes AND 2) ensure fileupload_maxk is an integer

  • Milestone changed from 2.2 to 2.3
  • Milestone 2.3 deleted
  • Resolution set to wontfix
  • Status changed from assigned to closed

The max file upload size is set by php.ini and is a system limitation that we can't get around...

Thus I see no point for setting it.

  • Resolution wontfix deleted
  • Status changed from closed to reopened
  • Milestone set to 2.3
  • Owner changed from 433 to rob1n
  • Status changed from reopened to new

markjaquith, did [5527] meet the user scenario?

  • Resolution set to fixed
  • Status changed from new to closed

Looks like this was fixed by [5527]

Note: See TracTickets for help on using tickets.