Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #49329, comment 29


Ignore:
Timestamp:
05/22/2020 08:17:31 AM (5 years ago)
Author:
zodiac1978
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49329, comment 29

    initial v1  
    2020I think the solution is to get the value with `ini_get('memory_limit')` as early as possible to get not affected from any plugins or WP which are trying to set something else and show only this value.
    2121
    22 The only other reliable way to get the real value I know of is to try to get the memory and see when it fails. This is of course a risky way, so we decided against it:
     22The only other reliable way to get the real value I know of is to try to allocate the memory and see when it fails. This is of course a risky way, so we decided against it:
    2323https://github.com/WordPress/health-check/issues/50