[wp-trac] [WordPress Trac] #51153: Use ini_get_all() to determine 'memory_limit' value in Site Health

WordPress Trac noreply at wordpress.org
Mon Oct 19 06:23:06 UTC 2020


#51153: Use ini_get_all() to determine 'memory_limit' value in Site Health
-------------------------------+---------------------
 Reporter:  SergeyBiryukov     |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  5.5.2
Component:  Site Health        |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  needs-patch close  |     Focuses:
-------------------------------+---------------------
Changes (by Clorith):

 * keywords:  needs-patch => needs-patch close


Comment:

 I'm with @ayeshrajans here that getting the initially set value is nice,
 but it's likely to be overridden further down the line.

 As noted r47762 adds in a distinction between the stored value, and the
 one available in WP-Admin, and I don't think there's any reasonable
 distinctions beyond this that need to be made, if a plugin or theme feels
 they need even more granular data than this, it feels more like a special
 consideration for them, and they can add that check them selves,
 especially as core fetches the first value _it_ knows of and displays now.

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


More information about the wp-trac mailing list