#51680 closed enhancement (fixed)
Add WP_MEMORY_LIMIT to WP Debug Data class
Reported by: | nre | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.7 | Priority: | normal |
Severity: | normal | Version: | 5.2 |
Component: | Site Health | Keywords: | good-first-bug has-patch has-dev-note |
Focuses: | administration | Cc: |
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.
4 years ago
#3
@
4 years ago
- Keywords needs-patch good-first-bug added
- Milestone changed from Awaiting Review to Future Release
#6
@
4 years ago
- Milestone changed from Future Release to 5.7
- Owner set to SergeyBiryukov
- Status changed from new to reviewing
#8
@
4 years ago
- Keywords needs-dev-note added
It would be nice to mention this change in the Miscellaneous Changes dev note.
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!