Creating Taxonomy Doesn't Apply to the Post Type Automatically #102

Closed
mikevanwinkle opened this Issue Jan 7, 2012 · 5 comments

Projects

None yet

3 participants

@mikevanwinkle

When creating a taxonomy there is a tick box for applying it to a post type. However, the application is not made. The user must go back into the post type screen and chose the new taxonomy. not a big deal, but just wondering if it's something that should happen automagically when creating a tax.

@sc0ttkclark
Pods Foundation, Inc member

It's supposed to be working, I'm sending everything to the function correctly, I'm thinking it's something a bit deeper regarding timing of running the register post type / taxonomy functions in a specific order.

@mikedamage mikedamage was assigned Apr 12, 2012
@sc0ttkclark
Pods Foundation, Inc member

I've set it up to add it during the post type/taxonomy registration, but I do need to add some hook to save it to the related object. Though I'm not sure entirely what WP wants, the functionality in each 'register' itself doesn't actually enable it on both sides, only one. So I'm not entirely sure what they intended with this or maybe it's a bug of their own.

@sc0ttkclark
Pods Foundation, Inc member

After reading a bit, they should be synced, so I'll make sure to update the code to save it like a bi-directional field would save (update it from either side and it'll update both values).

@sc0ttkclark
Pods Foundation, Inc member

Here's a task for you @mikedamage

@sc0ttkclark
Pods Foundation, Inc member

Looks good, close if it works for you in your tests. Thanks!

@mikedamage mikedamage closed this Aug 1, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment