• Resolved leogc

    (@leogc)


    Hi Loco-Team!

    I use an JS Monitor which brings up this Warning right now:

    This page generated the following warnings:

    /wp-content/plugins/loco-translate/pub/js/min/admin.js: jQuery.browser is deprecated

    This shows an file which is in loco-translate that is not correctly anymore. Please advice at which time this can be fixed?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Tim W

    (@timwhitlock)

    There is nothing incorrect about the code. It checks to see if jQuery.browser is present before using it.

    WordPress 5.5 removed jQuery migrate, so jQuery.browser will not be available. However, unless you are using Internet Explorer 10 or lower this will not affect your use of Loco Translate and will not cause you any errors.

    Thread Starter leogc

    (@leogc)

    Well ok, but u think this should be fixed in future anyway, no?

    Plugin Author Tim W

    (@timwhitlock)

    Yes, it should be fixed in future. I will either implement a better IE10 check, or drop IE10 support completely.

    I presume you are not an IE10 user and just want the warning to go away from your linting tool. This does not make it an urgent problem for me to fix.

    Thread Starter leogc

    (@leogc)

    Correct i’m not IE User ??

    Plugin Author Tim W

    (@timwhitlock)

    There is a quick fix for this on the dev branch. It will go live in 2.4.3, but I can’t say when that will be. Probably soon.

    It is “quick” because I have not yet tested in IE10.

    I’m marking this as resolved because jQuery.browser is no longer in the trunk and won’t be added back. If anyone has any issues with IE<11 then please post it as a new topic.

    Thread Starter leogc

    (@leogc)

    Oki doki ?? no worries ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘jQuery.browser is deprecated’ is closed to new replies.