wp-api-swaggerui icon indicating copy to clipboard operation
wp-api-swaggerui copied to clipboard

Removing scripts and styles breaks the QueryMonitor plugin.

Open ju1ius opened this issue 2 years ago • 0 comments

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.

ju1ius avatar Sep 30 '22 15:09 ju1ius