[wp-trac] [WordPress Trac] #18474: Misleading error message when theme ZIP exceeds post_max_size

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 23 22:46:14 UTC 2011


#18474: Misleading error message when theme ZIP exceeds post_max_size
------------------------------------+------------------------------
 Reporter:  ocean90                 |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Upload                  |     Version:  3.2
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------------
Changes (by kurtpayne):

 * cc: kpayne@… (added)
 * keywords:  needs-patch => has-patch dev-feedback
 * component:  Themes => Upload


Comment:

 This happens when php stops listening to the request after post_max_size
 is reached.  When that happens, the mime request cannot be properly
 decoded, so no post variables come through (including the nonce).

 [attachment:18474.diff] will detect the problem when a nonce fails and
 will give the proper error message, but there's nothing we can do about it
 from within WP.

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


More information about the wp-trac mailing list