#51680 closed enhancement (fixed)
Add WP_MEMORY_LIMIT to WP Debug Data class
| Reported by: | nre | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.7 |
| Component: | Site Health | Version: | 5.2 |
| Severity: | normal | Keywords: | good-first-bug has-patch has-dev-note |
| Cc: | Focuses: | administration |
Description
Please add the constant WP_MEMORY_LIMIT to class WP_Debug_Data.
When I check the WP report in site health report (wp-admin/site-health.php?tab=debug), I see a list of all WordPress constants, amongst others there is WP_MAX_MEMORY_LIMIT. Both constants are part of the documentation (https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php)
What is missing there is the constant WP_MEMORY_LIMIT.
Apparently because it's not registered in Class WP_Debug_Data in wp-admin/includes/class-wp-debug-data.php.
/editing-wp-config-php/#increasing-memory-allocated-to-php).
Attachments (1)
Change History (10)
This ticket was mentioned in Slack in #core by noisysocks. View the logs.
6 years ago
#3
@
6 years ago
- Keywords needs-patch good-first-bug added
- Milestone Awaiting Review → Future Release
#8
@
6 years ago
- Keywords needs-dev-note added
It would be nice to mention this change in the Miscellaneous Changes dev note.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi @nre. The ticket was discussed during a triage session in slack:
https://wordpress.slack.com/archives/C02RQBWTW/p1604381419364900
We agreed this sounds like a good thing to do!