WordPress.org

Plugin Directory

Changeset 354049


Ignore:
Timestamp:
03/02/11 08:07:41 (3 years ago)
Author:
kirilln
Message:

Version 3.3.4

Location:
tweet-blender/trunk
Files:
1 added
9 edited

Legend:

Unmodified
Added
Removed
  • tweet-blender/trunk/admin-page.php

    r353641 r354049  
    11<?php 
    22 
    3 // Version 3.3.3 
     3// Version 3.3.4 
    44 
    55// include TweetBlender library 
     
    8080    global $wp_json, $tb_option_names, $tb_option_names_system, $tb_keep_tweets_options, $tb_languages, $cache_clear_results, $tb_throttle_time_options, $tb_installed_addons, $tb_active_addons, $tb_package_names; 
    8181 
    82     // if we don't have json class, get the compatibility library 
     82    // if we don't have json class, get the library 
    8383    if ( !is_a($wp_json, 'Services_JSON') ) { 
    84         require_once( ABSPATH . WPINC . '/class-json.php' ); 
     84        if (file_exists(ABSPATH . WPINC . '/class-json.php')) { 
     85            require_once( ABSPATH . WPINC . '/class-json.php' ); 
     86        } 
     87        else { 
     88            require(dirname(__FILE__).'/lib/JSON.php'); 
     89        } 
    8590        $wp_json = new Services_JSON(); 
    8691    } 
    87          
     92             
    8893    $upgrade_message = ''; 
    8994 
     
    773778        <input type="hidden" name="notify_url" value="http://tweetblender.com/ipn.php" /> 
    774779        <input type="hidden" name="image_url" value="http://tweetblender.com/tweet-blender-logo_150x50.png" /> 
    775         <input type="hidden" name="return" value="<?php echo tb_get_current_page_url(); ?>&amp;install_addon=1" /> 
     780        <input type="hidden" name="return" value="<?php echo tb_get_current_page_url(); ?>&install_addon=1" /> 
    776781        <input type="hidden" name="cbt" value="Return to your site to complete installation" /> 
    777782        <input type="hidden" name="cancel_return" value="<?php echo tb_get_current_page_url(); ?>#tab-7" /> 
  • tweet-blender/trunk/js/main.js

    r353641 r354049  
    33 */ 
    44 
    5 var TB_version = '3.3.3',   // Plugin version  
     5var TB_version = '3.3.4',   // Plugin version  
    66TB_rateLimitData, 
    77TB_tmp, 
     
    12921292            badStrings = TB_config.filter_bad_strings.split(','); 
    12931293            for (i = 0; i < badStrings.length; i++) { 
    1294                 if (this.jsonCode.text.indexOf(badStrings[i]) >= 0 || this.screenName == badStrings[i]) { 
     1294                if (this.jsonCode.text.indexOf(badStrings[i]) >= 0 || this.screenName.indexOf(badStrings[i]) >= 0) { 
    12951295                    return false; 
    12961296                } 
  • tweet-blender/trunk/lib/lib.php

    r353641 r354049  
    11<?php 
    22 
    3 // Version 3.3.3 
     3// Version 3.3.4 
    44 
    55// aliases for sources 
  • tweet-blender/trunk/readme.txt

    r353641 r354049  
    44Requires at least: 2.8.0 
    55Tested up to: 3.1 
    6 Stable tag: 3.3.3 
     6Stable tag: 3.3.4 
    77Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5907095 
    88 
     
    177177== Changelog == 
    178178 
     179= 3.3.4 = 
     180* Bug fix: Cache Manager installer not working after purchase is complete (thanks to Stef N for reporting via Get Satisfaction) 
     181* Bug fix: "Warning: require_once(.../wp-includes/class-json.php): failed to open stream: No such file or directory" (thanks to Angilee S for reporting via Facebook) 
     182* Bug fix: If your filters included "xxx" tweets from @somexxxuser still showed up (thanks to Mark S for reporting via GetSatisfactin)   
     183 
    179184= 3.3.3 = 
    180185* Bug fix: visual editor and other AJAX features broken in WP3.1 on PHP4 when plugin is active due to JSON library conflict (thanks to Nezi, Gabor R, Geoffrey F, and @ILoveStyle_be for reporting) 
  • tweet-blender/trunk/tweet-blender.php

    r353641 r354049  
    44Plugin URI: http://www.tweet-blender.com 
    55Description: Provides several Twitter widgets: show your own tweets, show tweets relevant to post's tags, show tweets for Twitter lists, show tweets for hashtags, show tweets for keyword searches, show favorite tweets. Multiple widgets on the same page are supported. Can combine sources and blend all of them into a single stream. 
    6 Version: 3.3.3 
     6Version: 3.3.4 
    77Author: Kirill Novitchenko 
    88Author URI: http://kirill-novitchenko.com 
    99*/ 
    1010 
    11 /*  Copyright 2009-2010  Kirill Novitchenko  (email : knovitchenko@gmail.com) 
     11/*  Copyright 2009-2011  Kirill Novitchenko  (email : knovitchenko@gmail.com) 
    1212 
    1313    This program is free software; you can redistribute it and/or modify 
  • tweet-blender/trunk/widget-favorites.php

    r353641 r354049  
    11<?php 
    22 
    3 // version 3.3.3 
     3// version 3.3.4 
    44 
    55class TweetBlenderFavorites extends WP_Widget { 
     
    290290        // if we don't have json class, get the library 
    291291        if ( !is_a($wp_json, 'Services_JSON') ) { 
    292             require_once( ABSPATH . WPINC . '/class-json.php' ); 
     292            if (file_exists(ABSPATH . WPINC . '/class-json.php')) { 
     293                require_once( ABSPATH . WPINC . '/class-json.php' ); 
     294            } 
     295            else { 
     296                require(dirname(__FILE__).'/lib/JSON.php'); 
     297            } 
    293298            $wp_json = new Services_JSON(); 
    294299        } 
    295          
     300                 
    296301        // remove private account markup 
    297302        if (stripos($src,'!') === 0) { 
  • tweet-blender/trunk/widget-tags.php

    r353641 r354049  
    11<?php 
    22 
    3 // v3.3.3 
     3// v3.3.4 
    44 
    55class TweetBlenderForTags extends WP_Widget { 
  • tweet-blender/trunk/widget.php

    r353641 r354049  
    11<?php 
    22 
    3 // version 3.3.3 
     3// version 3.3.4 
    44 
    55class TweetBlender extends WP_Widget { 
     
    1313    function widget($args, $instance) { 
    1414 
    15         global $post,$wp_json; 
     15        global $post; 
    1616        if (sizeof($args) > 0) { 
    1717            extract($args, EXTR_SKIP);           
     
    307307        // if we don't have json class, get the library 
    308308        if ( !is_a($wp_json, 'Services_JSON') ) { 
    309             require_once( ABSPATH . WPINC . '/class-json.php' ); 
     309            if (file_exists(ABSPATH . WPINC . '/class-json.php')) { 
     310                require_once( ABSPATH . WPINC . '/class-json.php' ); 
     311            } 
     312            else { 
     313                require(dirname(__FILE__).'/lib/JSON.php'); 
     314            } 
    310315            $wp_json = new Services_JSON(); 
    311316        } 
  • tweet-blender/trunk/ws.php

    r353641 r354049  
    11<?php 
    22 
    3 // version 3.3.3 
     3// version 3.3.4 
    44 
    55// include WP functions 
     
    2424// if we don't have json class, get the library 
    2525if (!isset($wp_json) || !is_a($wp_json, 'Services_JSON') ) { 
    26     require_once( ABSPATH . WPINC . '/class-json.php' ); 
     26    if (file_exists(ABSPATH . WPINC . '/class-json.php')) { 
     27        require_once( ABSPATH . WPINC . '/class-json.php' ); 
     28    } 
     29    else { 
     30        require(dirname(__FILE__).'/lib/JSON.php'); 
     31    } 
    2732    $wp_json = new Services_JSON(); 
    2833} 
Note: See TracChangeset for help on using the changeset viewer.