Support » Plugin: Events Manager » Bug: The constant EM_URI doesn't include translations

  • Damian Gora

    (@damian-gora)


    Hello,

    I use:
    1. Events Manager v5.6.1
    2. WPML v3.2.7
    3. Events Manager and WPML Compatibility v1.0.1

    I 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. The EM_URI calls the function get_option("dbem_events_page"). This function is filtered in the hook option_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

    https://wordpress.org/plugins/events-manager/

Viewing 1 replies (of 1 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    let us check on this and inform the devs about this.

Viewing 1 replies (of 1 total)
  • The topic ‘Bug: The constant EM_URI doesn't include translations’ is closed to new replies.