bobbingwide / oik-types

oik custom content type manager
http://www.oik-plugins.com/oik-plugins/oik-types/
GNU General Public License v2.0
1 stars 0 forks source link

A customized post type prevents new taxonomies from being registered #17

Open bobbingwide opened 5 years ago

bobbingwide commented 5 years ago

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.