[wp-trac] [WordPress Trac] #53696: wp_add_iframed_editor_assets_html() not checking for block editor
WordPress Trac
noreply at wordpress.org
Tue Aug 10 16:34:07 UTC 2021
#53696: wp_add_iframed_editor_assets_html() not checking for block editor
------------------------------------------+----------------------------
Reporter: swissspidy | Owner: peterwilsoncc
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.8.1
Component: Editor | Version: 5.8
Severity: normal | Resolution: fixed
Keywords: has-patch commit fixed-major | Focuses:
------------------------------------------+----------------------------
Changes (by desrosj):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"51593" 51593]:
{{{
#!CommitTicketReference repository="" revision="51593"
Editor: Prevent block-editor JavaScript loading in other editors.
Add a check to `wp_add_iframed_editor_assets_html()` confirming the edit
post screen is using the block-editor before including block-editor
specific JavaScript. For the classic and other editors the function
returns early without any output.
Props swissspidy, desrosj, peterwilsoncc.
Merges [51540] to the 5.8 branch.
Fixes #53696.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53696#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list