wp-api-swaggerui
wp-api-swaggerui copied to clipboard
Removing scripts and styles breaks the QueryMonitor plugin.
Hi,
The SwaggerTemplate::removeQueuedScritps()
method removes all scripts and styles, except admin-bar
and dashicons
.
As a result, the output of the QueryMonitor plugin is broken. I guess it might also break every plugin that needs to hook into the admin bar and load custom scripts/styles.