Plugin Directory

Changeset 1185633


Ignore:
Timestamp:
06/22/2015 03:55:07 PM (11 years ago)
Author:
ivan.m89
Message:

new version - 1.8.1

Location:
fb-comments-importer/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • fb-comments-importer/trunk/index.php

    r1180153 r1185633  
    44Plugin URI: http://wp-resources.com/
    55Description: Imports Facebook comments to your Wordpress site and gives it a SEO boost.
    6 Version: 1.8.0
     6Version: 1.8.1
    77Author: Ivan M
    88*/
  • fb-comments-importer/trunk/js/script.js

    r981902 r1185633  
    1 function CheckComNumFree(id){
     1function CheckComNumFree(id,token){
    22    jQuery.ajax({
    33        type: "GET",
    4         url: "https://graph.facebook.com/"+id+"/comments?limit=5000&fields=id",
     4        url: "https://graph.facebook.com/"+id+"/comments?limit=5000&fields=id&"+token,
    55        async: true,
    66        success: function(resp) {
  • fb-comments-importer/trunk/readme.txt

    r1180153 r1185633  
    55Requires at least: 3.0
    66Tested up to: 4.2
    7 Stable tag: 1.8.0
     7Stable tag: 1.8.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5858
    5959== Changelog ==
     60
     61= 1.8.1 2015-06-22 =
     62* Fixed bug related with checking number of comments on button click.
    6063
    6164= 1.8.0 2015-06-13 =
  • fb-comments-importer/trunk/templates/home.php

    r1166899 r1185633  
    4949                    if($element['wp_post_id'] !="-"){
    5050                    ?>
    51                     <a href="javascript:void(0);" onclick="CheckComNumFree('<?php echo $element['id'];?>');">Check</a> <span id="countcomm_<?php echo $element['id'];?>"> </span>
     51                    <a href="javascript:void(0);" onclick="CheckComNumFree('<?php echo $element['id'];?>','<?php echo $token;?>');">Check</a> <span id="countcomm_<?php echo $element['id'];?>"> </span>
    5252                    <?php
    5353                    }
    5454                    else{
    5555                    ?>
    56                     <a href="javascript:void(0);" onclick="CheckComNumFree('<?php echo $element['id'];?>');">Check</a> <span id="countcomm_<?php echo $element['id'];?>"> </span>
     56                    <a href="javascript:void(0);" onclick="CheckComNumFree('<?php echo $element['id'];?>','<?php echo $token;?>'');">Check</a> <span id="countcomm_<?php echo $element['id'];?>"> </span>
    5757                    <?php
    5858                    }
Note: See TracChangeset for help on using the changeset viewer.