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

Fixes for WPML integration: #16

Merged
merged 2 commits into from May 20, 2018

Conversation

Projects
None yet
2 participants
@dgwatkins
Contributor

dgwatkins commented Apr 6, 2018

dgwatkins added some commits Apr 6, 2018

Fixes required for WPML integration:
- icl_save_settings is not the right place to hook, hook on wpml_setup_completed instead
- Use the current user id instead of hardcoding to 1
- Call the proper filter to set language information because it takes care of adding or updating the table accordingly

Reported in https://wpml.org/es/forums/topic/error-al-activar-el-plugin-502-bad-gateway/
@groucho75

This comment has been minimized.

Owner

groucho75 commented Apr 9, 2018

Great job dgwatkins, thanks you! I'd like to include it in next plugin release

@groucho75 groucho75 merged commit e620af7 into groucho75:master May 20, 2018

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