Commit graph

7 commits

Author SHA1 Message Date
Yahnis Elsts
4e59df1958 Fixed a few warnings about deprecated jQuery features 2020-12-09 17:07:15 +02:00
Yahnis Elsts
235a810e90 Fix an issue with Debug Bar 0.9 where the content of some PUC panels was not visible. See issue #102.
Cause: Debug Bar 0.9 now includes an admin bar menu that lists the available panels. This means that the special element that PUC uses to identify its panel titles (<span id="puc-debug-menu-link-$uid">) is no longer unique. This breaks the JS that's supposed to work around the fact that Debug Bar incorrectly assumes that every panel will have a unique PHP class name.
2017-05-16 21:16:08 +03:00
Yahnis Elsts
f1e59b183c Rename DebugBar AJAX actions to prevent conflicts with previous versions. 2016-12-19 19:05:06 +02:00
Yahnis Elsts
3e11878ac8 DebugBar integration for themes.
Change filter structure from puc_/tuc_* to puc_tag_[theme]-$slug. Not happy with that yet.
Fix a bunch of minor bugs.
2016-12-17 17:57:27 +02:00
Yahnis Elsts
ae084bd3be Actually, lets prefix our custom Debug Bar IDs with "puc" to be completely sure we'll avoid name collisions. 2012-10-27 12:30:35 +00:00
Yahnis Elsts
5a3c214836 Fix duplicate IDs in the Debug Bar.
When multiple instances of the update checker are active at the same time, each will have its own PluginUpdateCheckerPanel instance and its own entry in the Debug Bar. However, since all instances have the same class name, and Debug Bar uses this name to generate link and wrapper IDs, we will end up with duplicate IDs and a semi-broken debug bar. 
 
 I've added a bit of JS that will find update checker panels and replace the relevant IDs with new ones based on the plugin slug, not class.
2012-10-27 12:26:24 +00:00
Yahnis Elsts
c42810ab70 Add a Debug Bar panel that displays all kinds of debugging information about each update checker instance. You can also trigger an update check and request info/metadata through the panel. 2012-10-26 18:15:09 +00:00