Forums

Infinite-Scroll
[resolved] Remove jQuery CDN (7 posts)

  1. Ramoonus
    Member
    Posted 10 months ago #

    Why does your plugin replace jQuery and loads it through Google`s CDN
    i think thats up for the user to decide

    http://wordpress.org/extend/plugins/infinite-scroll/

  2. beaver6813
    Member
    Posted 10 months ago #

    The plugin requires jQuery in order to work. If the user doesn't already have jQuery in their theme or if its not reasonably up to date then it loads the latest version. Are you objecting to that behaviour or the fact that it uses Google's CDN?

  3. Ramoonus
    Member
    Posted 10 months ago #

    two things:

    the way it loads (not using WordPress standards; try enqueue_script)

    google ... sometimes wordpress runs on a company intranet with internet connection

  4. beaver6813
    Member
    Posted 10 months ago #

    Okies, thanks for the suggestions :) They definitely make sense (in fact the entire jQuery loading part is a remnant of a very early version of the plugin) so I'll work on getting this changed on the update coming this weekend.

    Thanks again and just post on here or https://github.com/paulirish/infinite-scroll if you have any other suggestions, its really appreciated.

  5. beaver6813
    Member
    Posted 10 months ago #

    Just as an update, both changes you mentioned will be coming in the update being released tonight.

  6. Ramoonus
    Member
    Posted 10 months ago #

    why not say: WordPress required: 3.2+ (which means jQuery 1.6.1)

  7. Ramoonus
    Member
    Posted 10 months ago #

    or make me happy and refer to my plugin
    http://wordpress.org/extend/plugins/jquery-updater/

Reply

You must log in to post.

About this Plugin

About this Topic