[wp-trac] [WordPress Trac] #51680: Add WP_MEMORY_LIMIT to WP Debug Data class

WordPress Trac noreply at wordpress.org
Fri Oct 30 16:02:23 UTC 2020


#51680: Add WP_MEMORY_LIMIT to WP Debug Data class
----------------------------+-----------------------------
 Reporter:  nre             |      Owner:  (none)
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 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).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51680>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list