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

Implement better way to track attribute taxonomies #3149

Closed
coenjacobs opened this issue May 13, 2013 · 5 comments
Closed

Implement better way to track attribute taxonomies #3149

coenjacobs opened this issue May 13, 2013 · 5 comments
Labels
type: refactor The issue/PR is related to refactoring.

Comments

@coenjacobs
Copy link
Contributor

In woocommerce_terms_clauses() function, we check for all taxonomies having product_cat as slug or match pa_ in their slug. Problem appears when using a taxonomy having pa_ in slug that are not WooCommerce attributes.

This needs a better way to keep track, possibly by storing all the attribute taxonomy slugs in an option field.

Slightly related to #3064, as it needs a similar solution here imho.

Reported by @paulgibbs, reference: paulgibbs/achievements#101

@paulgibbs
Copy link

Cheers team!

@paulgibbs
Copy link

Which release did this fix get into?

@coenjacobs
Copy link
Contributor Author

@paulgibbs This is merged into the master branch, aimed to go out for 2.1 (hasn't been released).

I'll discuss with @mikejolley today and see if we can get this into 2.0.15 (to be released soon), as I don't know why this hasn't been merged into an earlier fix release.

mikejolley added a commit that referenced this issue Sep 9, 2013
…t_attribute() function

Closes #3149.

Conflicts:
	classes/class-wc-post-types.php
@coenjacobs
Copy link
Contributor Author

Merged this into the 2.0.15 branch.

@paulgibbs
Copy link

Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: refactor The issue/PR is related to refactoring.
Projects
None yet
Development

No branches or pull requests

2 participants