Changes between Version 2 and Version 5 of Ticket #64511
- Timestamp:
- 01/23/2026 04:55:43 PM (6 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #64511
- Property Keywords has-patch has-unit-tests commit added
-
Ticket #64511 – Description
v2 v5 1 The `wp_sanitize_script_attributes()` [https://developer.wordpress.org/reference/functions/wp_sanitize_script_attributes/ function] is no longer used by WordPress Core since [61485]. Its additional utility of adding a `type` attribute was removed in [614 15] as part of #64442.1 The `wp_sanitize_script_attributes()` [https://developer.wordpress.org/reference/functions/wp_sanitize_script_attributes/ function] is no longer used by WordPress Core since [61485]. Its additional utility of adding a `type` attribute was removed in [61440] as part of #64428. 2 2 3 3 WordPress offers robust functionality for working with script tags: [https://developer.wordpress.org/reference/functions/wp_get_script_tag/ wp_get_script_tag()] and [https://developer.wordpress.org/reference/functions/wp_get_inline_script_tag/ wp_get_inline_script_tag()]. Developers are better off with these tools that work with complete SCRIPT tags instead of partial snippets of HTML text.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)