WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 7 years ago

#2596 closed defect (bug) (fixed)

Need a way to limit size of uploads

Reported by: markjaquith Owned by: rob1n
Milestone: 2.3 Priority: normal
Severity: normal Version: 2.1
Component: Administration Keywords:
Focuses: 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 7 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 matt7 years ago

  • Milestone changed from 2.1 to 2.2

comment:2 4337 years ago

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

4337 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

comment:3 foolswisdom7 years ago

  • Milestone changed from 2.2 to 2.3

comment:4 rob1n7 years ago

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

comment:5 rob1n7 years ago

  • Resolution wontfix deleted
  • Status changed from closed to reopened

comment:6 rob1n7 years ago

  • Milestone set to 2.3
  • Owner changed from 433 to rob1n
  • Status changed from reopened to new

comment:7 foolswisdom7 years ago

markjaquith, did [5527] meet the user scenario?

comment:8 markjaquith7 years ago

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