bobbingwide/oik-types

A customized post type prevents new taxonomies from being registered

Opened this issue · 0 comments

In blocks.wp-a2z I'd overridden the value for Archive posts per page for the Block CPT.
This override prevented new custom categories from being registered in the initial block registration.

Explanation

A recent change to oik-shortcodes.php was to add the new taxonomies as below.

$post_type_args['taxonomies'] = [ 'block_category', 'block_keyword', 'block_classification' ];

It would appear that the filter logic is re-applying the saved value for the taxonomies parameter.

Workaround

Delete the override then re-apply.