Plugin Directory

Changeset 840334


Ignore:
Timestamp:
01/17/2014 02:40:34 PM (12 years ago)
Author:
filipmedia
Message:

Upgrade to 1.3.3 version

Location:
fb-comments-importer
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • fb-comments-importer/trunk/FBComments.class.inc

    r775289 r840334  
    273273            global $wpdb;
    274274            $num = $wpdb->get_var( "SELECT COUNT(*) FROM ".$wpdb->prefix."comments WHERE comment_post_ID = '" . $cid . "' AND comment_content = '" . $mess . "'");
    275             return $num;
     275            if (!$num) {
     276                return "0";
     277            } else {
     278                return $num;
     279            }
    276280        }
    277281    }
     
    286290        global $wpdb;
    287291        $num = $wpdb->get_var( "SELECT COUNT(*) FROM ".$wpdb->prefix."commentmeta WHERE comment_id = '" . $cid . "' AND meta_value = '" . $mv . "'");
    288         return $num;
     292        if(!$num){
     293        return "0";
     294    } else {
     295                return $num;
     296    }
    289297    }
    290298   
     
    299307        global $wpdb;
    300308        $num = $wpdb->get_var( "SELECT comment_ID FROM ".$wpdb->prefix."comments WHERE comment_post_ID = '" . $postid . "' AND comment_agent = '" . $user_agent . "'");
    301         return $num;
     309        if(!$num){
     310        return "0";
     311    } else {
     312                return $num;
     313    }
    302314    }
    303315   
  • fb-comments-importer/trunk/index.php

    r775289 r840334  
    44Plugin URI: http://projects.geekydump.com/
    55Description: Imports Facebook comments to your Wordpress site and gives it a SEO boost.
    6 Version: 1.3.2
     6Version: 1.3.3
    77Author: Ivan M & steelmaiden
    88*/
  • fb-comments-importer/trunk/readme.txt

    r775300 r840334  
    44Tags: fb comments, facebook, comments, fb comments import, facebook comments, facebook comments import, discussion
    55Requires at least: 3.0
    6 Tested up to: 3.6.1
    7 Stable tag: 1.3.2
     6Tested up to: 3.8
     7Stable tag: 1.3.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4444== Changelog ==
    4545
     46= 1.3.3 2013-01-17 =
     47* Fixed another bug with duplicate comments being imported
     48* Better compatibility with Wordpress 3.8
     49
    4650= 1.3.2 2013-09-19 =
    4751* Improved duplicate comments detection.
Note: See TracChangeset for help on using the changeset viewer.