Changes between Version 3 and Version 4 of Ticket #63851
- Timestamp:
- 08/20/2025 04:51:03 PM (2 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #63851 – Description
v3 v4 7 7 Note that ''safe'' in this context means that the content will not alter the expected HTML document structure. The `SCRIPT` element will not close prematurely, nor will the element be prevented from closing at its apparent `</script>` close tag. ''Safe'' in this context has nothing to do with the behavior of the JavaScript when evaluated by the browser. The JavaScript behavior in unaffected by these changes. 8 8 9 A good example of the ongoing issue is `wp_localize_script `. The following snippet breaks the containing script tag and prevents the script element from closing:9 A good example of the ongoing issue is `wp_localize_script()`. The following snippet breaks the containing script tag and prevents the script element from closing: 10 10 11 11 {{{#!php