[wp-trac] [WordPress Trac] #62797: wp_add_inline_script does not properly escape '<!-- <script>' in contents
WordPress Trac
noreply at wordpress.org
Fri Jan 10 05:35:08 UTC 2025
#62797: wp_add_inline_script does not properly escape '<!-- <script>' in contents
-------------------------------------+------------------------------
Reporter: artpi | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 6.7.1
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: administration
-------------------------------------+------------------------------
Changes (by dilipbheda):
* keywords: has-patch => has-patch needs-testing
* focuses: => administration
Comment:
@artpi, thank you for the report. I've addressed it with the attached PR.
@abcd95 @ankitkumarshah, could you please review the attached PR and let
me know if you find any other issues?
Thanks!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62797#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list