Make WordPress Core

Opened 17 years ago

Closed 16 years ago

#2596 closed defect (bug) (fixed)

Need a way to limit size of uploads

Reported by: markjaquith's profile markjaquith Owned by: rob1n's profile 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 16 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)

#1 @matt
16 years ago

  • Milestone changed from 2.1 to 2.2

#2 @433
16 years ago

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

@433
16 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

#3 @foolswisdom
16 years ago

  • Milestone changed from 2.2 to 2.3

#4 @rob1n
16 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.

#5 @rob1n
16 years ago

  • Resolution wontfix deleted
  • Status changed from closed to reopened

#6 @rob1n
16 years ago

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

#7 @foolswisdom
16 years ago

markjaquith, did [5527] meet the user scenario?

#8 @markjaquith
16 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.