QueryMonitor plugin can work with ClassicPress

The best plugin for debugging SQL queries - Query Monitor - does not work with current version of ClassicPress.

Here is the simple solution:

	function wp_is_block_theme() { return false; }
	function get_block_theme_folders() { return array(); }

Maybe some other plugins will have the same issues, so it’s worth to consider adding it to new release of ClassicPress…

1 Like

Query monitor is working well with ClassicPress.
get_block_theme_folders was polyfilled in version 2.3 and wp_is_block_theme in 2.0.
Just set “Blocks Compatibility” to “On” or “Troubleshooting” in General Settings to enable the polyfills.

3 Likes

thank you, it works.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.