[wp-trac] Re: [WordPress Trac] #5231: add_action('all',
...) causes unexpected behaviour
WordPress Trac
wp-trac at lists.automattic.com
Mon Nov 5 03:39:24 GMT 2007
#5231: add_action('all', ...) causes unexpected behaviour
-------------------------------------+--------------------------------------
Reporter: tellyworth | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.4
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+--------------------------------------
Comment (by darkdragon):
Duplicate code? Why would you have similar code in two different places
when you have code in one place and called in two different places. I
can't do that, but if you're willing then I think it would work.
Dude, I cringe whenever I look at the similar code branches in do_action,
apply_filters, and do_action_ref_array. About lose my sanity I do.
Although, I have no non-drastic solution. Just purely maddening.
The classes I threw together would require a couple more hours. I just
don't see myself finishing it when your solution would only take about 30
minutes to an hour (testing included), if even that.
--
Ticket URL: <http://trac.wordpress.org/ticket/5231#comment:18>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list