Open bobbingwide opened 2 years ago
When invoking the block editor with Caxton v1.27.0 the following message appears twice.
Deprecated: block_categories is deprecated since version 5.8.0! Use block_categories_all instead.
This is due to the block_categories filter being used in caxton-main.php. In the Caxton::_admin() method line 85 is
block_categories
caxton-main.php
Caxton::_admin()
add_action( 'block_categories', array( $this->admin, 'block_categories' ), 5 );
Changing this to
add_action( 'block_categories_all', array( $this->admin, 'block_categories' ), 5 );
prevents the deprecated messages from appearing
When invoking the block editor with Caxton v1.27.0 the following message appears twice.
Deprecated: block_categories is deprecated since version 5.8.0! Use block_categories_all instead.
This is due to the
block_categories
filter being used incaxton-main.php
. In theCaxton::_admin()
method line 85 isChanging this to
prevents the deprecated messages from appearing