carbon-fields icon indicating copy to clipboard operation
carbon-fields copied to clipboard

Filter block_categories deprecated warnings

Open tambaqui opened this issue 2 years ago • 0 comments

Version

  • Carbon Fields: 3.3.4
  • WordPress: 6.0.2
  • PHP: 7.4

Expected Behavior

Deprecated warnings are not displayed when creating a new post or page.

Actual Behavior

With carbon fields enabled WordPress displays 2 deprecated warnings when creating a new post or page:

Deprecated: block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5465

Deprecated: block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5465

Comments

The attach() method of the Block_Container class needs to be updated.

tambaqui avatar Oct 06 '22 15:10 tambaqui