[wp-trac] [WordPress Trac] #59778: remove not needed function call in wp_post_preview_js
WordPress Trac
noreply at wordpress.org
Tue Oct 31 16:57:18 UTC 2023
#59778: remove not needed function call in wp_post_preview_js
--------------------------+------------------------------
Reporter: pbearne | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Description changed by pbearne:
Old description:
New description:
In this function, we created some JS with "<script>" tags and removed them
with a call to wp_remove_surrounding_empty_script_tags()
So this patch removes the tags and function call
see ticket #59775 for tests for this function/change
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59778#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list