[wp-trac] [WordPress Trac] #10535: _wp_filter_build_unique_id issues with the first time a filter is hooked by a class
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 4 21:09:49 UTC 2010
#10535: _wp_filter_build_unique_id issues with the first time a filter is hooked by
a class
-------------------------------------+--------------------------------------
Reporter: simonwheatley | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.0.2
Component: Plugins | Version: 2.9
Severity: normal | Resolution:
Keywords: has-patch tested commit |
-------------------------------------+--------------------------------------
Comment(by Denis-de-Bernardy):
If I may chime in on a slightly orthogonal, albeit related issue, this
won't work either:
{{{
function foo() {
remove_action('bar', 'foo');
}
function foo2() {
echo 'test';
}
add_action('bar', 'foo', 10);
add_action('bar', 'foo2', 11);
do_action('bar'); // no output
}}}
Or at least it didn't last I checked (writing from an iPad... Can't
test.).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10535#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list