[wp-trac] [WordPress Trac] #26640: [Patch] Performance Increase in apply_filter() (~11%)
WordPress Trac
noreply at wordpress.org
Mon Dec 16 18:08:51 UTC 2013
#26640: [Patch] Performance Increase in apply_filter() (~11%)
-------------------------+------------------------------
Reporter: dshafik | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 1.5
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------------
Comment (by dshafik):
So, it was pointed out on
[https://twitter.com/mrclay_org/status/412568250162368512 Twitter] that
the callbacks are not always global functions.
This patch will work on PHP 5.4+ where array notation callbacks can be
used like `$foo()` but not in earlier versions, breaking BC.
I'm going to tweak it some more today and see if I can't get a reasonable
solution that works in all versions.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/26640#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list