Make WordPress Core

Changes between Version 3 and Version 4 of Ticket #63851


Ignore:
Timestamp:
08/20/2025 04:51:03 PM (2 months ago)
Author:
jonsurrell
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #63851 – Description

    v3 v4  
    77Note 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.
    88
    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:
     9A 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:
    1010
    1111{{{#!php