Make WordPress Core

Opened 2 months ago

#54449 new defect (bug)

Loading CodeMirror prevents the Help tabs children to work properly.

Reported by: krasenslavov Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.8.2
Component: Help/About Keywords:
Focuses: Cc:


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.


Attachments (1)

Screenshot 2021-11-15 184306.png (72.3 KB) - added by krasenslavov 2 months ago.

Download all attachments as: .zip

Change History (1)

Note: See TracTickets for help on using tickets.