• Resolved Jos Klever

    (@josklever)


    This error appeared in the report of Enable jQuery Migrate Helper:

    Plugin: The Events Calendar 5.3.2.1
    Error: jQuery.fn.attr(\’checked\’) might use property instead of attribute
    File: /wp-content/plugins/the-events-calendar/src/resources/js/tribe-settings.min.js
    Triggered on: /wp-admin/edit.php?post_type=tribe_events&page=tribe-common

    Possible solution (I’m not a coder): .attr should be replaced by .prop

    • This topic was modified 4 years, 1 month ago by Jos Klever.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support masoodak

    (@masoodak)

    Hi @josklever,

    Thanks for reaching out and sorry for the delay in getting back to you.

    Could you kindly check with The Events Calendar plugin updated to version 5.4.0.2 and see if the warning still remains.

    Let us know how it goes.

    Kind regards,
    Masood

    Thread Starter Jos Klever

    (@josklever)

    Hi @masoodak,

    It has been so long that I don’t remember on which site this happened, so I can’t verify it, but if I see it correctly the mentioned file hasn’t changed regarding the .attr function.

    I’ll have to install the plugin on a test site to check it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘jQuery error .attr’ is closed to new replies.