[wp-trac] [WordPress Trac] #53696: wp_add_iframed_editor_assets_html() not checking for block editor
WordPress Trac
noreply at wordpress.org
Tue Jul 20 09:12:38 UTC 2021
#53696: wp_add_iframed_editor_assets_html() not checking for block editor
--------------------------+-------------------------
Reporter: swissspidy | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.8.1
Component: Editor | Version: trunk
Severity: normal | Keywords: needs-patch
Focuses: |
--------------------------+-------------------------
`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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53696>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list