Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
bw_trace_inspect_current no longer determines the current priority #63
Since WordPress 4.7.0 filters and hooks are now stored in the global
when filter results to trace contains
we trace the results of the
WP_hook is implemented as a final class. The current_priority is a protected field.
We need to change
It would have been easier to have a method to allow this inspection or just make the field public.
The solution does not need to check the WordPress version, as it's documented that it requires WordPress 4.9