[wp-trac] [WordPress Trac] #51466: Site Health: don't give a warning when post_max_size is set to 0 (unlimited)

WordPress Trac noreply at wordpress.org
Wed Oct 7 19:51:30 UTC 2020


#51466: Site Health: don't give a warning when post_max_size is set to 0
(unlimited)
-------------------------------------+---------------------
 Reporter:  pixolin                  |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  5.6
Component:  Site Health              |     Version:  5.5.1
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |     Focuses:
-------------------------------------+---------------------
Changes (by Clorith):

 * keywords:  needs-patch => needs-patch 2nd-opinion


Comment:

 Hmmm, I'm not sure if this should change, as the documentation mentions
 there are scenarios where a value of `0` means a literal `zero` as well.

 The current implementation provides a recommendation if the value is lower
 than the `upload_max_filersize` setting, and I think it's reasonable to
 retain it as a recommendation then, as it may benefit from changing to
 something specific, but it's not a critical issue if you leave it as it
 is. Would love a 2nd opinion on this though.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51466#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list