wordpress-develop icon indicating copy to clipboard operation
wordpress-develop copied to clipboard

Script Loader: Deprecate wp_sanitize_script_attributes()

Open sirreal opened this issue 6 days ago • 2 comments

Deprecate wp_sanitize_script_attributes(). It is unused in Core and superseded by better alternatives like wp_get_script_tag() and wp_get_inline_script_tag().

Trac ticket: https://core.trac.wordpress.org/ticket/64511


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

sirreal avatar Jan 15 '26 16:01 sirreal