[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
Sun Apr 10 14:49:14 UTC 2016


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

Comment (by jrf):

 P.S.: and just in case someone sees the `wp_is_ini_value_changable()`
 function and now thinks:

 > "''Hang on, that's wrong, `INI_ALL` and `INI_USER` should be called
 `PHP_INI_ALL` and `PHP_INI_USER`''".

 Sorry, but no, you're wrong ;-)

 (Confused me briefly as well)
 @see http://php.net/manual/en/info.constants.php

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


More information about the wp-trac mailing list