Make WordPress Core

Opened 3 weeks ago

Closed 3 weeks ago

Last modified 4 days ago

#64633 closed defect (bug) (fixed)

Block Bindings: Remove `$supported_blocks` property from the registry

Reported by: soean's profile Soean Owned by: westonruter's profile westonruter
Milestone: 7.0 Priority: normal
Severity: normal Version: 6.7
Component: Editor Keywords: has-patch add-to-field-guide
Focuses: Cc:

Description

We should remove the private property $supported_blocks from the WP_Block_Bindings_Registry class as it is not used anymore.

Change History (4)

This ticket was mentioned in PR #10912 on WordPress/wordpress-develop by @Soean.


3 weeks ago
#1

  • Keywords has-patch added

We should remove the private property $supported_blocks from the WP_Block_Bindings_Registry class as it is not used anymore.

Trac ticket: https://core.trac.wordpress.org/ticket/64633

#2 @westonruter
3 weeks ago

  • Milestone changed from Awaiting Review to 7.0
  • Owner set to westonruter
  • Status changed from new to reviewing
  • Version set to 6.7

#3 @westonruter
3 weeks ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 61642:

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.

#4 @audrasjb
4 days ago

  • Keywords add-to-field-guide added

This is worth mentioning in the Field Guide.

Note: See TracTickets for help on using tickets.