Skip to content

Conversation

@ibes
Copy link
Contributor

@ibes ibes commented Aug 15, 2017

It's possible to disable event-tag and event-category (yeah!) but if event-category is disabled there will be problems with the event-meta information, as they try to query for both taxonomies and just for event-tag there is a check for WP Error.

Please add the check for event-category as well - on this both places.

I feel like my commit messages are not very clean. Maybe someone can help me by doing a cleaner merge request. The needed changes are simple.

ibes added 3 commits August 15, 2017 14:30
If event-category taxonomy is disabled there will be an WP Error that should be checked too - same as for event-tag
Tax event-category can be disabled. If disabled there will be an WP Error if we try to query for event categories.
Add a check for WP Errors as there is a check at event-tag will prevent the plugin from breaking if event-category is disabled.
Adds check in eo_get_event_meta_list for tax error
@stephenharris stephenharris merged commit 028a12f into stephenharris:develop Aug 18, 2017
@stephenharris
Copy link
Owner

Thanks @ibes!

@ibes
Copy link
Contributor Author

ibes commented Aug 18, 2017

Thank you for that great plugin!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants