Plugin Directory

Changeset 802560


Ignore:
Timestamp:
11/11/2013 05:03:11 PM (12 years ago)
Author:
bkmacdaddy
Message:

new version that fixes problems with jQuery

Location:
pinterest-rss-widget/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pinterest-rss-widget/trunk/pinterest-rss-widget.php

    r654854 r802560  
    55Description: Display up to 25 of your latest Pinterest Pins in your sidebar. You are welcome to express your gratitude for this plugin by donating via <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SXTEL7YLUSFFC" target="_blank"><strong>PayPal</strong></a>
    66Author: bkmacdaddy designs
    7 Version: 2.2.1
     7Version: 2.2.2
    88Author URI: http://bkmacdaddy.com/
    99
     
    3838    if ( file_exists($pinterest_rss_myStyleFile) ) {
    3939        wp_register_style('pinterestRSScss', $pinterest_rss_myStyleUrl);
    40         wp_enqueue_style( 'pinterestRSScss');       
    41         wp_deregister_script( 'jquery' );
    42         wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js');
    43         wp_enqueue_script( 'jquery' );     
     40        wp_enqueue_style( 'pinterestRSScss');           
    4441        wp_register_script( 'pinterestRSSjs', $pinterest_rss_nailThumb);       
    45         wp_enqueue_script( 'pinterestRSSjs' );
     42        wp_enqueue_script(
     43            'pinterestRSSjs',
     44             $pinterest_rss_nailThumb,
     45             array( 'jquery' )
     46        );
    4647    }
    4748}
     
    7475                    $content .= '<div class="pins-feed-'.$divname.'">';
    7576                    $content .= '<a href="'.$item->get_permalink().'"';
    76                     if ($target == 'newwindow') { $content .= 'target="_BLANK" '; };
     77                    if ($target == 'newwindow') { $content .= ' target="_BLANK" '; };
    7778                    $content .= 'title="'.$item->get_title().' - Pinned on '.$item->get_date('M d, Y').'">';                   
    7879                                   
  • pinterest-rss-widget/trunk/readme.txt

    r654854 r802560  
    7070== Changelog ==
    7171
     72= 2.2.2 =
     73* Removed problematic deregistering of WordPress jQuery
     74* Plugin now uses built-in WordPress jQuery
     75
    7276= 2.2.1 =
    7377* Fixed problem with wrong version in repository
Note: See TracChangeset for help on using the changeset viewer.