Changeset 64496
- Timestamp:
- 10/19/2026 05:56:25 AM (5 weeks ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/script-loader.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r64485 r64496 3589 3589 * Filters attributes to be added to a script tag. 3590 3590 * 3591 * Escaping and normalization can make the text a browser parses from the printed tag differ 3592 * from `$data`. A callback that needs that text, such as one computing a CSP hash, can set 3593 * `$data` as the modifiable text of a SCRIPT tag in a `WP_HTML_Tag_Processor` with the 3594 * filtered attributes applied and then read {@see WP_HTML_Tag_Processor::get_modifiable_text()}, 3595 * at a late priority so that the attributes are final. 3596 * 3591 3597 * @since 5.7.0 3592 3598 *
Note:
See TracChangeset
for help on using the changeset viewer.