[wp-trac] [WordPress Trac] #50945: Site Health: don't give a warning when upload_max_size is lower than max_post_size

WordPress Trac noreply at wordpress.org
Sun Aug 16 17:47:07 UTC 2020


#50945: Site Health: don't give a warning when upload_max_size is lower than
max_post_size
---------------------------------------------+-----------------------------
 Reporter:  jeroenrotty                      |       Owner:  SergeyBiryukov
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  5.5.1
Component:  Site Health                      |     Version:  5.5
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  good-first-bug has-patch commit  |     Focuses:
---------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48800" 48800]:
 {{{
 #!CommitTicketReference repository="" revision="48800"
 Site Health: Only display the warning about the `post_max_size` PHP value
 when it's lower than `upload_max_filesize`.

 Previously, the warning was displayed even if the value was higher than
 `upload_max_filesize`, which made the report inaccurate, as these values
 don't necessarily have to match.

 Props oakesjosh, jeroenrotty, desrosj, Clorith.
 Fixes #50945.
 }}}

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


More information about the wp-trac mailing list