Support » Plugin: WPML Editor Languages » issue with logged out users

  • Resolved sasdts

    (@sasdts)


    Hi, love your plugin, thanks so much for making it.

    I have a strange problem though, I have an ajax search form that works as it should for logged in users, but when I test with a non-logged in user, instead of getting search results back, I get the following success message back from ajax: “You cannot modify or delete this entry. Back to home”, which seems to be coming from this plugin. Do you have any ideas what could be causing this? I would have thought there would be no conflict for a logged out user.

    WPML: 3.2.7
    WPML Editor Languages: 1.0.1
    WP: 3.2.3

    https://wordpress.org/plugins/wpml-editor-languages/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author OzTheGreat

    (@ozthegreat)

    Hi sasdts,

    I’m sorry, I didn’t get a notification that you’d posted this and I’ve only just seen it! A bit late I know but are you still having an issue?

    sasdts

    (@sasdts)

    Hi, thanks for the reply. This issue cropped up again after updating to the new version. I changed line 91 in class-wpml-editor-languages-admin.php to

    if (( ! isset( $user_languages[ ICL_LANGUAGE_CODE ] ) ) && ( is_user_logged_in()))

    which seem to fix it.

    Plugin Author OzTheGreat

    (@ozthegreat)

    Hi sasdts,

    Thanks for letting me know and thanks even more for posting the fixed code!! I’ll do a test then release a new version.

    Thanks!

    Plugin Author OzTheGreat

    (@ozthegreat)

    Hi sasdts,

    I’ve just pushed version 1.0.3 which should hopefully fix you’re problem. Please let me know if it doesn’t.

    Thanks very much for letting me know.

    Hi, sorry to get back to you so late, but yes, that fixed the issue, thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘issue with logged out users’ is closed to new replies.