index-wp-mysql-for-speed icon indicating copy to clipboard operation
index-wp-mysql-for-speed copied to clipboard

Work around a shortcoming in Query Monitor

Open OllieJones opened this issue 6 months ago • 1 comments

Admin Page Framework registers a 'current_screen' action handler that's invoked via php's __call magic method rather than by being defined in the class. But Query Monitor's Hooks and Actions display assumes the action handler is actually defined, and shows an error if it is not.

Thanks to Klynt Maston for this report.

See also https://wordpress.org/support/topic/hooks-actions-hooks-invoked-with-__call-incorrectly-flagged-as-missing/

OllieJones avatar Feb 14 '24 14:02 OllieJones

A defect turned up in my patch to this. https://wordpress.org/support/topic/critical-error-661/

OllieJones avatar Mar 27 '24 14:03 OllieJones