Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Shareaholic

    (@shareaholic)

    @jayce53

    We understand your concern for loading jQuery 1.8. But due to the variation in the API from version to version we need to load a specific version at this time. Our script must run on a wide variety of pages (over 300k sites!) and to safely operate in such varied environments we need to be defensive.

    We do our best to call noConflict on jQuery when the script triggers a loaded event. But there could a small number of times when code execution in the browser causes us to miss our chance to restore the previous version of jQuery.

    To address this problem and others we are actively working on better isolation techniques to eliminate interactions between our scripts and the scripts running on your web page. Those enhancements are in the works and should be released in the very near future!

    Thread Starter Jayce53

    (@jayce53)

    May I suggest that a trivially simple partial workaround for the time being would be to check which version of WordPress is loaded and at least load the correct version of jQuery for the WordPress version that’s running? jQuery 1.8 has not been used in WordPress since WP 3.5 – about 5 significant releases ago.

    That won’t fix all the problems, but it might help alleviate the pain your plugin causes other developers in some circumstances.

    Just because you run on a lot of sites it doesn’t absolve you from the responsibility of sticking to the WordPress plugin rules and having your plugin behave responsibly!

    It’s worth noting that if you submitted your plugin for inclusion to the WordPress directory today and the load of the out of date version of jQuery was detected by the reviewers, it would be rejected.

    Plugin Author Shareaholic

    (@shareaholic)

    @jayce53 is there a specific conflict that you’re running into? Let us know and we’ll try to fast track a fix for it. btw – a huge fan of your EasyRecipe plugin! We share many common users.

    Plugin Author Shareaholic

    (@shareaholic)

    Hi @jayce53 I just wanted to follow up. The team just released a slew of major upgrades that I had mentioned we were working on to improve Site Speed and not loading old versions of jQuery. Do let us know if you have any questions!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin loads out of date jQuery’ is closed to new replies.