[wp-trac] [WordPress Trac] #51153: Use ini_get_all() to determine 'memory_limit' value in Site Health
WordPress Trac
noreply at wordpress.org
Wed Aug 26 23:56:33 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 | Keywords: needs-patch
Focuses: |
----------------------------+-------------------------
Background: #49329
[47762] introduced displaying the original PHP memory limit on Site Health
Info screen.
Per some further discussion starting with comment:17:ticket:49329,
`ini_get( 'memory_limit' )` reports incorrect values in some environments,
and `$ini_all['memory_limit']['global_value']` should be used instead.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51153>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list