Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bobbingwide opened this issue Feb 25, 2019 · 0 comments
Open
Assignees
Labels

Comments

@bobbingwide
Copy link
Owner

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.

@bobbingwide bobbingwide self-assigned this Feb 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant