bobbingwide / oik-bwtrace

debug trace for WordPress
https://www.oik-plugins.com/oik-plugins/oik-bwtrace-debug-trace-for-wordpress/
GNU General Public License v2.0
6 stars 1 forks source link

bw_trace_get_attached_hook_count( $hook ) not working since WordPress 4.7 #66

Closed bobbingwide closed 6 years ago

bobbingwide commented 6 years ago

Similar to #63, the bw_trace_get_attached_hook_count function no longer returns the number of functions attached to a particular hook.

The "most used" report is therefore empty The code needs to be changed to take into account the new structure for the global $wp_filter.