Plugin Directory

Changeset 1950181


Ignore:
Timestamp:
10/02/2018 10:48:37 AM (7 years ago)
Author:
spotim
Message:

Comments counter hotfix.
Auto sync hotfix

Location:
spotim-comments
Files:
47 added
5 edited

Legend:

Unmodified
Added
Removed
  • spotim-comments/trunk/inc/class-spotim-cron.php

    r1786408 r1950181  
    123123            $import->log( 'Iteration (end) #' . $page_number . ', Token:' . $execution_token );
    124124            $import->log( $response );
     125
     126            if($response && $response['status'] == 'continue')
     127                $page_number++; // Increment
    125128           
    126             $page_number++; // Increment
    127            
    128         } while ( $response && $response['status'] == 'continue' );
     129        } while ( $response && ($response['status'] == 'continue' ||  $response['status'] == 'refresh'));
    129130       
    130131        $import->log( 'Finished Cron auto-sync', $response );
  • spotim-comments/trunk/inc/class-spotim-frontend.php

    r1942443 r1950181  
    277277        $counterPosition = self::$options->get('display_comments_count');
    278278
    279         if ('0' !== $counterPosition) {
     279        if ('0' !== $counterPosition && self::has_spotim_comments()) {
    280280
    281281            // Comments count scripts
  • spotim-comments/trunk/inc/class-spotim-import.php

    r1947298 r1950181  
    105105     * @param int $page_number Page number. Default is 0.
    106106     * @param int $posts_per_request Posts Per Request. Default is 1.
     107     * @param bool $force ignore post eTag and force re-sync everything.
    107108     *
    108109     * @return void
  • spotim-comments/trunk/readme.txt

    r1947299 r1950181  
    1 === Spot.IM Comments ===
     1=== Spot.IM Comments ===
    22Contributors: spotim, itay9001, ramiy, maor, rzvagelsky, idanm
    33Tags: Comment, comment form, commenting, comments, comment author, comment form, comment system, comment template, comments box, community, discuss, discussion, discussions, commenter, live update, real time, realtime, real-time, Spot.IM, reply, social login, widget, social, moderation, community, communities, engagement, Facebook, profile, sharing, newsfeed, chat, chat interface, notification, notifications, SEO, retention, pageviews, email alerts, direct message, direct messaging, group message, group messaging, content, content circulation, UGC, user generated content
     
    55Tested up to: 4.9
    66Requires PHP: 5.2
    7 Stable tag: 4.3.7
     7Stable tag: 4.3.8
    88License: GPLv2 or later
    99License URI: license.txt
     
    203203
    204204== Changelog ==
     205
     206= 4.3.8 =
     207* Comments counter hotfix
     208* Auto sync hotfix
    205209
    206210= 4.3.7 =
  • spotim-comments/trunk/spotim-comments.php

    r1947298 r1950181  
    44 * Plugin URI:          https://wordpress.org/plugins/spotim-comments/
    55 * Description:         Real-time comments widget turns your site into its own content-circulating ecosystem.
    6  * Version:             4.3.7
     6 * Version:             4.3.8
    77 * Author:              Spot.IM
    88 * Author URI:          https://github.com/SpotIM
Note: See TracChangeset for help on using the changeset viewer.