WordPress.org

Make WordPress Core

Opened 3 months ago

Last modified 5 weeks ago

#54117 new enhancement

Changing memory limit descriptions

Reported by: fyremoon Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 5.8.1
Component: General Keywords:
Focuses: Cc:

Description

Hi,

A couple of things that stand out, WP_MAX_MEMORY_LIMIT is for the admin side of the site and WP_MEMORY_LIMIT is for the visitor side. If these were updated in the next version to more friendly names like WP_VISITOR_MEMORY_LIMIT and WP_ADMIN_MEMORY_LIMIT, it would be easier to set up these limits.

How is the memory limit decided for WordPress? I've overridden the defaults since my server has 1GB max memory for PHP, so I've set them to 512 and 1024 respectively but is there a reason why the memory limits are set to arbitrary figures and not a percentage of the limit?

Change History (1)

#1 @Clorith
5 weeks ago

  • Component changed from Site Health to General
Note: See TracTickets for help on using tickets.