Opened 5 years ago
Closed 5 years ago
#53696 closed defect (bug) (fixed)
wp_add_iframed_editor_assets_html() not checking for block editor
| Reported by: | swissspidy | Owned by: | peterwilsoncc |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.8.1 |
| Component: | Editor | Version: | 5.8 |
| Severity: | normal | Keywords: | has-patch commit fixed-major |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
53696.diff looks good to me, testing notes:
All dandy 🌻