[wp-trac] [WordPress Trac] #14889: Memory Comparison Broken / WordPress Memory Limit
WordPress Trac
wp-trac at lists.automattic.com
Sun Sep 26 20:38:06 UTC 2010
#14889: Memory Comparison Broken / WordPress Memory Limit
--------------------------+-------------------------------------------------
Reporter: hakre | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.0
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Comment(by hakre):
dd32 I think you have not understood the problem. The value read out from
the PHP configuration is not normalized properly to compare against
anything else.
So with your life making easier suggestion you must add as well, that
server admins must configure the memory limit with the M shorthand
notation.
If you don't like a anonymous function you can create a global one which
is dealing with that as well, the anononymous function was just a
suggestion.
I suggest to commit and it can be improved later on. So at least the bug
is fixed.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14889#comment:>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list