Bug: The constant EM_URI doesn't include translations
-
Hello,
I use:
1. Events Manager v5.6.1
2. WPML v3.2.7
3. Events Manager and WPML Compatibility v1.0.1I have a problem witch a action attribute in a events search form. There is URL with only one language.
A value of action attribute is taken from the
EM_URI
constant. TheEM_URI
calls the functionget_option("dbem_events_page")
. This function is filtered in the hookoption_dbem_events_page
and there should be set ID of translated page, but it isn’t.I solved this problem temporarily by change a priority of the
add_filter('init','em_init',1);
from 1 to 10. Then it works perfectly.Can you check it out?
Regards
Damian
- The topic ‘Bug: The constant EM_URI doesn't include translations’ is closed to new replies.