From ef01f4281c42e109a955a6649fe103f7d11314b0 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Wed, 22 Oct 2025 22:33:32 +0000 Subject: [PATCH] Script Loader: Fix logic inversion with `$html5_script_support` in `wp_sanitize_script_attributes()`. The value was actually whether HTML5 was ''not'' supported. Follow-up to [50167]. Props jamieburchell, sabernhardt. See #39941. Fixes #64128. Built from https://develop.svn.wordpress.org/trunk@61052 git-svn-id: http://core.svn.wordpress.org/trunk@60388 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/script-loader.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index 5f2ba05d8a..10e4982367 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -2869,7 +2869,7 @@ function wp_enqueue_editor_format_library_assets() { * @return string String made of sanitized `