From 41985d47d60c3ef9954559c54cb5ac88ceeccf4f Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Sat, 14 Feb 2026 00:37:41 +0000 Subject: [PATCH] Code Quality: Remove unused `WP_Block_Bindings_Registry::$supported_blocks` private member variable. Developed in https://github.com/WordPress/wordpress-develop/pull/10912 Follow-up to [59080], [57641]. Props soean. See #64238, #61642. Fixes #64633. Built from https://develop.svn.wordpress.org/trunk@61642 git-svn-id: http://core.svn.wordpress.org/trunk@60953 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-block-bindings-registry.php | 13 ------------- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/wp-includes/class-wp-block-bindings-registry.php b/wp-includes/class-wp-block-bindings-registry.php index 519453d22b..efbe344f09 100644 --- a/wp-includes/class-wp-block-bindings-registry.php +++ b/wp-includes/class-wp-block-bindings-registry.php @@ -44,19 +44,6 @@ final class WP_Block_Bindings_Registry { 'uses_context', ); - /** - * Supported blocks that can use the block bindings API. - * - * @since 6.5.0 - * @var string[] - */ - private $supported_blocks = array( - 'core/paragraph', - 'core/heading', - 'core/image', - 'core/button', - ); - /** * Registers a new block bindings source. * diff --git a/wp-includes/version.php b/wp-includes/version.php index 25d5cd8cba..8bae703f40 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '7.0-alpha-61641'; +$wp_version = '7.0-alpha-61642'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.