Opened 2 years ago
Closed 2 years ago
#53696 closed defect (bug) (fixed)
wp_add_iframed_editor_assets_html() not checking for block editor
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.8.1 | Priority: | normal |
Severity: | normal | Version: | 5.8 |
Component: | Editor | Keywords: | has-patch commit fixed-major |
Focuses: | Cc: |
Description
wp_add_iframed_editor_assets_html
in WP 5.8 adds some inline JavaScript in the admin footer on post.php
/post-new.php
even if the current screen does not use the block editor.
This JS should not be added if using a different editor.
The function should use WP_Screen::is_block_editor()
accordingly.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
53696.diff looks good to me, testing notes:
All dandy 🌻