Debug bar timber also checks on the same action with the same priority. This means it can sometimes check too early.
Resulting in the incorrect message
"In order to use the Timber Debug Bar, you need to install and activate the WordPress Debug Bar Plugin"
This PR changes the priority to 11 to ensure Query Monitor runs first.
When the Debug_Bar class is supplied by Query Monitor, the check for it can run too early.
Query monitor instantiates the Debug_Bar class on the
init
action at the default priority of 10. https://github.com/johnbillion/query-monitor/blob/develop/collectors/debug_bar.php#L109 and https://github.com/johnbillion/query-monitor/blob/develop/collectors/debug_bar.php#L46Debug bar timber also checks on the same action with the same priority. This means it can sometimes check too early. Resulting in the incorrect message "In order to use the Timber Debug Bar, you need to install and activate the WordPress Debug Bar Plugin"
This PR changes the priority to 11 to ensure Query Monitor runs first.