[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
Mon Aug 17 01:27:45 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:
  fixed-major                                    |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"48806" 48806]:
 {{{
 #!CommitTicketReference repository="" revision="48806"
 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.
 Merges [48800] and [48801] to the 5.5 branch.
 Fixes #50945.
 }}}

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


More information about the wp-trac mailing list