YahnisElsts / plugin-update-checker

A custom update checker for WordPress plugins. Useful if you don't want to host your project in the official WP repository, but would still like it to support automatic updates. Despite the name, it also works with themes.
MIT License
2.25k stars 410 forks source link

Debug menu target ID not same as debug panel #452

Open melcarthus opened 3 years ago

melcarthus commented 3 years ago

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

YahnisElsts commented 3 years ago

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?

melcarthus commented 3 years ago

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.

YahnisElsts commented 3 years ago

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.

melcarthus commented 3 years ago

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.