[wp-trac] [WordPress Trac] #32075: Only set WP_MAX_MEMORY_LIMIT by default when its greater than memory_limit

WordPress Trac noreply at wordpress.org
Wed Jun 29 11:34:54 UTC 2016


#32075: Only set WP_MAX_MEMORY_LIMIT by default when its greater than memory_limit
---------------------------------------------+-----------------------
 Reporter:  danielbachhuber                  |       Owner:  ocean90
     Type:  defect (bug)                     |      Status:  accepted
 Priority:  normal                           |   Milestone:  4.6
Component:  Bootstrap/Load                   |     Version:  3.2
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-----------------------
Changes (by ocean90):

 * owner:   => ocean90
 * status:  new => accepted


Comment:

 [attachment:32075.5.diff]:

 * Renames `wp_php_ini_bytes_to_int()` to
 `wp_convert_php_ini_bytes_to_int()` to match `wp_convert_hr_to_bytes()`.
 * Uses `256 * MB_IN_BYTES`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32075#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list