Opened 3 years ago
Last modified 2 years ago
#54449 new defect (bug)
Loading CodeMirror prevents the Help tabs children to work properly.
Reported by: | krasenslavov | Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | 5.8.2 |
Component: | Help/About | Keywords: | needs-patch |
Focuses: | javascript | Cc: |
Description
When you load the wp-theme-plugin-editor
script (CodeMirror) it prevents/blocks the Help on click event. You can quickly test this if you additional tab on the Theme Editor screen, right now there is only an Overview, but if we add and 2nd one you won't be able to switch between children.
I am using this on another page, but I have tested it, and when I remove the wp_enqueue_script('wp-theme-plugin-editor');
the functionality works as it should be.
This is the JS file that's causing the issue: /wp-admin/js/theme-plugin-editor.js
I have looked at it quickly but couldn't pinpoint the section of code that's causing the issue.
Krasen
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hi and thanks for the report!
This still occurs in WordPress 6.0.1.