[wp-trac] [WordPress Trac] #23895: Max upload size 0 when post_max_size = 0

WordPress Trac noreply at wordpress.org
Fri Mar 29 16:00:12 UTC 2013


#23895: Max upload size 0 when post_max_size = 0
--------------------------+------------------------------
 Reporter:  moscar09      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Upload        |     Version:  3.5.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------
Description changed by SergeyBiryukov:

Old 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

New 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

--

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23895#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list