plugin-update-checker icon indicating copy to clipboard operation
plugin-update-checker copied to clipboard

Debug menu target ID not same as debug panel

Open melcarthus opened this issue 4 years ago • 4 comments

Hi I have an issue when I click the PUC button the panel is nog set to display block. The panel has the themename / url in it, but the button does not. So there is no way for me to activate the panel.

afbeelding

https://github.com/YahnisElsts/plugin-update-checker/blob/2292442efc060df317f33f40b74d8a3a29021279/js/debug-bar.js#L44

melcarthus avatar Jul 15 '21 08:07 melcarthus

It looks like the script that fixes the IDs isn't running for some reason. Are there any JavaScript errors in the console? Is there anything on your site that could prevent debug-bar.js from being loaded?

YahnisElsts avatar Jul 15 '21 15:07 YahnisElsts

No console errors.

It's loading. Other tabs besides the PUC one work just fine. I tried it with a different theme also. So my custom theme can be eliminated as the culprit. I also have disabled al the plugins except debugbar to see if there was a jquery conflict or something. So far the 'bug' remains.

I'll do some digging. Maybe some plugin file skipped getting overwritten on the latest update.

melcarthus avatar Jul 15 '21 15:07 melcarthus

For what it's worth, I just tested this on my own site with a basic custom theme and also with a plugin, and I couldn't reproduce the issue. I used Debug Bar 1.1.2.

YahnisElsts avatar Jul 15 '21 15:07 YahnisElsts

Wierd that its on development AND production. So I'll have to do some digging why this install is bugging. Development is docker, production is just simple shared hosting. Keep you posted.

melcarthus avatar Jul 15 '21 15:07 melcarthus