﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
9968	dynamically adding/removing filters breaks plugins	Denis-de-Bernardy		"noticed this while doing something similar to this:

{{{
add_action('foo', 'bar1', 10);
add_action('foo', 'bar2', 20);

function bar1() {
  remove_filter('foo', 'bar1', 10);
}
}}}

in the above, bar2() doesn't get called. it is because of the usage of next()/current() to loop through filters.

attached patch uses a foreach loop instead, to make it work."	defect (bug)	reopened	low	Future Release	Plugins		normal		has-patch needs-testing	azizur frederic.demarle@…
