Commit 866291e6b7 for wordpress.org

commit 866291e6b7dab2c16045667522a89d71ce69e599
Author: jonsurrell <jonsurrell@git.wordpress.org>
Date:   Mon Oct 19 06:33:50 2026 +0000

    Docs: `get_block_wrapper_attributes()` expects unescaped values.

    Developed in: https://github.com/WordPress/wordpress-develop/pull/14140

    Props jonsurrell, westonruter.
    See #65860.

    Built from https://develop.svn.wordpress.org/trunk@64497


    git-svn-id: http://core.svn.wordpress.org/trunk@63647 1a063a9b-81f0-0310-95a4-ce76da25c4cd

diff --git a/wp-includes/class-wp-block-supports.php b/wp-includes/class-wp-block-supports.php
index cf2d84f3b6..0a93c2c45a 100644
--- a/wp-includes/class-wp-block-supports.php
+++ b/wp-includes/class-wp-block-supports.php
@@ -195,8 +195,12 @@ class WP_Block_Supports {
  *
  * @since 5.6.0
  *
- * @param string[] $extra_attributes Optional. Array of extra attributes to render on the block wrapper.
- * @return string String of HTML attributes.
+ * @param array<string, string|int|float> $extra_attributes Optional. Extra attributes to render on the block wrapper,
+ *                                                          keyed by attribute name. Values are unescaped strings or
+ *                                                          numbers. This function escapes them, so do not escape them
+ *                                                          first. Numbers are cast to strings, and values of other
+ *                                                          types are ignored. Default empty array.
+ * @return string String of HTML attributes with escaped values, ready to print inside an HTML tag.
  */
 function get_block_wrapper_attributes( $extra_attributes = array() ) {
 	$new_attributes = WP_Block_Supports::get_instance()->apply_block_supports();
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 4df6c9de92..49d4b2f1f1 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '7.2-alpha-64496';
+$wp_version = '7.2-alpha-64497';

 /**
  * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.