WordPress.org

Make WordPress Core

Opened 13 months ago

Last modified 2 months ago

#23895 new defect (bug)

Max upload size 0 when post_max_size = 0 — at Initial Version

Reported by: moscar09 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.5.1
Component: Upload Keywords:
Focuses: Cc:

Description

As a convention, post_max_size can be set to 0 to disable any limitation on max post size.

Quote from php.ini:

; Maximum size of POST data that PHP will accept.
; Its value may be 0 to disable the limit. It is ignored if POST data reading
; is disabled through enable_post_data_reading.
; http://php.net/post-max-size

WordPress does not take this into account in wp-admin/includes/template.php

Change History (0)

Note: See TracTickets for help on using tickets.