[wp-trac] [WordPress Trac] #14889: Memory Comparison Broken / WordPress Memory Limit

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 28 20:31:51 UTC 2012


#14889: Memory Comparison Broken / WordPress Memory Limit
------------------------------+---------------------
 Reporter:  hakre             |       Owner:  nacin
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.5
Component:  General           |     Version:  3.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------

Comment (by chrisbliss18):

 You are correct that the null value isn't possible. I must have misread
 the docs.

 I was about to submit a patch for the inval issue which I just noticed,
 but it looks like it was already caught.

 Regarding the function_exists check for memory_get_usage, this was removed
 because it doesn't do anything. I disabled memory_get_usage on my local
 system, and it caused no problems with the code supplied by the patch.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14889#comment:46>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list