Make WordPress Core

Changeset 61642


Ignore:
Timestamp:
02/14/2026 12:36:54 AM (7 months ago)
Author:
westonruter
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-block-bindings-registry.php

    r60904 r61642  
    4343                'get_value_callback',
    4444                'uses_context',
    45         );
    46 
    47         /**
    48          * Supported blocks that can use the block bindings API.
    49          *
    50          * @since 6.5.0
    51          * @var string[]
    52          */
    53         private $supported_blocks = array(
    54                 'core/paragraph',
    55                 'core/heading',
    56                 'core/image',
    57                 'core/button',
    5845        );
    5946
Note: See TracChangeset for help on using the changeset viewer.