Plugin Directory

Changeset 2251904


Ignore:
Timestamp:
02/28/2020 11:36:48 AM (6 years ago)
Author:
localsync
Message:

release 1.0.3

Location:
local-sync/trunk
Files:
3 added
5 edited

Legend:

Unmodified
Added
Removed
  • local-sync/trunk/README.txt

    r2248180 r2251904  
    55Requires at least: 3.0.1
    66Tested up to: 5.3.2
    7 Stable tag: 1.0.2
     7Stable tag: 1.0.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4545== Changelog ==
    4646
     47= 1.0.3 =
     48*Release Date - 28 Feb 2020*
     49
     50* Improvement : Calculating modified files logic improved.
     51
    4752= 1.0.2 =
    4853*Release Date - 21 Feb 2020*
  • local-sync/trunk/admin/class-local-sync-files-op.php

    r2248180 r2251904  
    493493        $response = $this->wpdb->get_results($sql, ARRAY_A);
    494494
     495        local_sync_log('', "--------got_limited_files_to_zip_by_file_paths--------");
     496
    495497        if($response === false){
    496498            local_sync_log($sql, "--------get_limited_files_to_zip_by_file_paths---error-----");
     
    546548        $response = $this->wpdb->query($sql);
    547549
     550        local_sync_log('', "--------updated_local_site_files_list_by_file_paths_str--------");
     551
    548552        if($response === false){
    549553            local_sync_log($sql, "--------update_local_site_files_list_by_file_paths_str---error-----");
     
    577581            // local_sync_log($local_list_info, "--------local_list_info--------");
    578582
     583            local_sync_manual_debug('', 'mark_modified_files_from_local_file_list_multi_call');
     584
    579585            $file_paths_to_be_deleted = array();
    580586            $file_paths_str = array();
     
    594600            $current_process_files = $this->get_limited_files_to_zip_by_file_paths($file_paths_str);
    595601
    596             // local_sync_log($current_process_files, "--------current_process_files--------");
     602            local_sync_log(count($current_process_files), "----count----current_process_files--------");
    597603
    598604            $file_path_strs_unmodifed = array();
     
    617623            $this->update_local_site_files_list_by_file_paths_str($file_paths_str);
    618624
     625            local_sync_manual_debug('', 'after_update_local_site_files_list_by_file_paths_str');
     626
    619627            $this->prepare_deleted_files_list($file_paths_to_be_deleted);
     628
     629            local_sync_manual_debug('', 'after_prepare_deleted_files_list');
    620630
    621631            $local_list_info = $this->get_limited_local_site_files_list_info();
     
    629639            }
    630640
    631             if(is_local_sync_timeout_cut()){
     641            if(is_local_sync_timeout_cut(false, 10)){
    632642
    633643                local_sync_log('', "--------breaking---mark_modified_files_from_local_file_list_multi_call-----");
     
    696706        }
    697707
     708        $value_to_print = '';
     709
    698710        foreach ($file_paths_to_be_deleted as $value) {
    699             file_put_contents($deleted_files_list_file, $value . "\n", FILE_APPEND);
    700         }
     711            $value_to_print .= $value . "\n";
     712        }
     713
     714        file_put_contents($deleted_files_list_file, $value_to_print, FILE_APPEND);
     715
    701716    }
    702717}
  • local-sync/trunk/admin/class-local-sync-restore-op.php

    r2248180 r2251904  
    762762                    $urlPort = '';
    763763                    $urlPath = '';
    764 
    765                     // $url2Port = '';
    766                     // $url2Path = '';
    767 
    768764                    if (isset($fromURL['port']) && $fromURL['port'] != ''){
    769765                        $urlPort = ":".$fromURL['port'];
  • local-sync/trunk/local-sync-constants.php

    r2248180 r2251904  
    7575
    7676    public function versions(){
    77         $this->define( 'LOCAL_SYNC_VERSION', '1.0.2' );
     77        $this->define( 'LOCAL_SYNC_VERSION', '1.0.3' );
    7878        $this->define( 'LOCAL_SYNC_DATABASE_VERSION', '1.0' );
    7979    }
  • local-sync/trunk/local-sync.php

    r2248180 r2251904  
    1212 * Plugin URI:        https://localsync.io
    1313 * Description:       Clone live site to the local site and vice versa.
    14  * Version:           1.0.2
     14 * Version:           1.0.3
    1515 * Author:            Revmakx
    1616 * Author URI:        https://revmakx.com
Note: See TracChangeset for help on using the changeset viewer.