Changeset 2251904
- Timestamp:
- 02/28/2020 11:36:48 AM (6 years ago)
- Location:
- local-sync/trunk
- Files:
-
- 3 added
- 5 edited
-
README.txt (modified) (2 diffs)
-
admin/class-local-sync-files-op.php (modified) (7 diffs)
-
admin/class-local-sync-restore-op.php (modified) (1 diff)
-
assets/icon-128x128.png (added)
-
assets/icon-256x256.png (added)
-
assets/icon.svg (added)
-
local-sync-constants.php (modified) (1 diff)
-
local-sync.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
local-sync/trunk/README.txt
r2248180 r2251904 5 5 Requires at least: 3.0.1 6 6 Tested up to: 5.3.2 7 Stable tag: 1.0. 27 Stable tag: 1.0.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 45 45 == Changelog == 46 46 47 = 1.0.3 = 48 *Release Date - 28 Feb 2020* 49 50 * Improvement : Calculating modified files logic improved. 51 47 52 = 1.0.2 = 48 53 *Release Date - 21 Feb 2020* -
local-sync/trunk/admin/class-local-sync-files-op.php
r2248180 r2251904 493 493 $response = $this->wpdb->get_results($sql, ARRAY_A); 494 494 495 local_sync_log('', "--------got_limited_files_to_zip_by_file_paths--------"); 496 495 497 if($response === false){ 496 498 local_sync_log($sql, "--------get_limited_files_to_zip_by_file_paths---error-----"); … … 546 548 $response = $this->wpdb->query($sql); 547 549 550 local_sync_log('', "--------updated_local_site_files_list_by_file_paths_str--------"); 551 548 552 if($response === false){ 549 553 local_sync_log($sql, "--------update_local_site_files_list_by_file_paths_str---error-----"); … … 577 581 // local_sync_log($local_list_info, "--------local_list_info--------"); 578 582 583 local_sync_manual_debug('', 'mark_modified_files_from_local_file_list_multi_call'); 584 579 585 $file_paths_to_be_deleted = array(); 580 586 $file_paths_str = array(); … … 594 600 $current_process_files = $this->get_limited_files_to_zip_by_file_paths($file_paths_str); 595 601 596 // local_sync_log($current_process_files, "--------current_process_files--------");602 local_sync_log(count($current_process_files), "----count----current_process_files--------"); 597 603 598 604 $file_path_strs_unmodifed = array(); … … 617 623 $this->update_local_site_files_list_by_file_paths_str($file_paths_str); 618 624 625 local_sync_manual_debug('', 'after_update_local_site_files_list_by_file_paths_str'); 626 619 627 $this->prepare_deleted_files_list($file_paths_to_be_deleted); 628 629 local_sync_manual_debug('', 'after_prepare_deleted_files_list'); 620 630 621 631 $local_list_info = $this->get_limited_local_site_files_list_info(); … … 629 639 } 630 640 631 if(is_local_sync_timeout_cut( )){641 if(is_local_sync_timeout_cut(false, 10)){ 632 642 633 643 local_sync_log('', "--------breaking---mark_modified_files_from_local_file_list_multi_call-----"); … … 696 706 } 697 707 708 $value_to_print = ''; 709 698 710 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 701 716 } 702 717 } -
local-sync/trunk/admin/class-local-sync-restore-op.php
r2248180 r2251904 762 762 $urlPort = ''; 763 763 $urlPath = ''; 764 765 // $url2Port = '';766 // $url2Path = '';767 768 764 if (isset($fromURL['port']) && $fromURL['port'] != ''){ 769 765 $urlPort = ":".$fromURL['port']; -
local-sync/trunk/local-sync-constants.php
r2248180 r2251904 75 75 76 76 public function versions(){ 77 $this->define( 'LOCAL_SYNC_VERSION', '1.0. 2' );77 $this->define( 'LOCAL_SYNC_VERSION', '1.0.3' ); 78 78 $this->define( 'LOCAL_SYNC_DATABASE_VERSION', '1.0' ); 79 79 } -
local-sync/trunk/local-sync.php
r2248180 r2251904 12 12 * Plugin URI: https://localsync.io 13 13 * Description: Clone live site to the local site and vice versa. 14 * Version: 1.0. 214 * Version: 1.0.3 15 15 * Author: Revmakx 16 16 * Author URI: https://revmakx.com
Note: See TracChangeset
for help on using the changeset viewer.