You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Essentially using remove_action()/remove_filter() in a hooked function to remove that function from the hook swallows all functions of the next priority.
The work-around is pretty naff, but it involves protecting the function from being swalloed by adding a dummy function on the previous priority. This function does nothing, but acts as a buffer.
This isn't a complete work-around (there isn't one) and the problem may reoccur with other plug-ins. But I've shifted the priority of the affected function here to 11 in the hope of avoiding similar problems.
The text was updated successfully, but these errors were encountered:
Although this was initially reported as conflict between Event Organiser and WP-E-Commerce, it's in fact a bug with WordPress.
Essentially using
remove_action()
/remove_filter()
in a hooked function to remove that function from the hook swallows all functions of the next priority.The work-around is pretty naff, but it involves protecting the function from being swalloed by adding a dummy function on the previous priority. This function does nothing, but acts as a buffer.
This isn't a complete work-around (there isn't one) and the problem may reoccur with other plug-ins. But I've shifted the priority of the affected function here to 11 in the hope of avoiding similar problems.
The text was updated successfully, but these errors were encountered: