WordPress.org

Ready to get started?Download WordPress

Forums

Pinterest RSS Widget
[resolved] Plugin forces jQuery version (5 posts)

  1. Daniel Koskinen
    Member
    Posted 11 months ago #

    I ran into some JavaScript compatibility issues with this plugin, and realized the reason was this on lines 41-43 in pinterest-rss-widget.php:

    wp_deregister_script( 'jquery' );
    wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js');
    wp_enqueue_script( 'jquery' );

    This will essentially cause everything else to use this old version of jQuery. A well-behaving plugin or theme should use the built-in version of jQuery, because doing otherwise is bound to cause unpredictable results. Please fix this!

    http://wordpress.org/plugins/pinterest-rss-widget/

  2. Hugo
    Member
    Posted 9 months ago #

    I too had to track down the cause of a site acting up and tracked it down eventually to your plugin. Please read up on why it's best not to do this kind of thing, it's a very bad practise to force a dequeue of the WP jQuery files for the sake of loading the library from the google CDN which gains very little if you look into things, even if you thought you really had to are you not aware it's possible to load a current version that stays current with jQuery stable releases.

    I would have a read of pipinplugins post on the subject and consider updating your plugin and removing this troublesome bit of code.

    http://pippinsplugins.com/why-loading-your-own-jquery-is-irresponsible/

    P.S and maybe respond to your support threads ;)

  3. bkmacdaddy
    Member
    Plugin Author

    Posted 9 months ago #

    I realize this is a problem and unfortunately haven't had time to support this free plugin. Truth be told, if there was a way to delete the offering of the plugin I would, because the amount of time it takes to upkeep and respond to support requests is well beyond my bandwidth. I don't think most people realize that it can become a full-time job (that doesn't pay anything) to create, update and support a WP plugin. If they did, maybe there wouldn't be such snide remarks or disapproving comments.

  4. @bkmacdaddy If you wish to have your plugin disabled, send an email yo plugins(at)wordpress(dot)org

  5. bkmacdaddy
    Member
    Plugin Author

    Posted 9 months ago #

    Thanks for the tip, Pippin. I ended up taking advantage of the holiday today to fix the jQuery issue mentioned here and have uploaded a new version 2.2.2. Hopefully this will resolve the issues.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.