diff --git a/wp-includes/html-api/class-wp-html-tag-processor.php b/wp-includes/html-api/class-wp-html-tag-processor.php
index 11a0daa4b2..e6e704e71c 100644
--- a/wp-includes/html-api/class-wp-html-tag-processor.php
+++ b/wp-includes/html-api/class-wp-html-tag-processor.php
@@ -3667,7 +3667,7 @@ class WP_HTML_Tag_Processor {
*
* @see https://html.spec.whatwg.org/#attributes-3
*/
- $escaped_new_value = in_array( $comparable_name, wp_kses_uri_attributes() ) ? esc_url( $value ) : esc_attr( $value );
+ $escaped_new_value = in_array( $comparable_name, wp_kses_uri_attributes(), true ) ? esc_url( $value ) : esc_attr( $value );
// If the escaping functions wiped out the update, reject it and indicate it was rejected.
if ( '' === $escaped_new_value && '' !== $value ) {
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 25f1c56912..dbf405e476 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '6.7-alpha-58896';
+$wp_version = '6.7-alpha-58897';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.