Changeset 2513252
- Timestamp:
- 04/12/2021 11:50:25 AM (5 years ago)
- Location:
- local-sync/trunk
- Files:
-
- 5 edited
-
README.txt (modified) (2 diffs)
-
admin/class-local-sync-shell-dump.php (modified) (1 diff)
-
local-sync-bridge/class-local-sync-file-system.php (modified) (2 diffs)
-
local-sync-constants.php (modified) (1 diff)
-
local-sync.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
local-sync/trunk/README.txt
r2251904 r2513252 2 2 Contributors: localsync, dark-prince 3 3 Donate link: https://revmakx.com 4 Tags: clone, migrate, local sync, local site, dev site, duplicate site, duplicator 4 Tags: clone, migrate, local sync, local site, dev site, duplicate site, duplicator, cloning, migration 5 5 Requires at least: 3.0.1 6 Tested up to: 5. 3.27 Stable tag: 1.0. 36 Tested up to: 5.7 7 Stable tag: 1.0.4 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.4 = 48 *Release Date - 12 Apr 2021* 49 50 * Fix : False positive virus warning by Windows Defender. 51 * Fix : Not able to get file data for downloading the file in a few cases. 52 53 * Improvement : Tested upto WordPress 5.7. 54 47 55 = 1.0.3 = 48 56 *Release Date - 28 Feb 2020* -
local-sync/trunk/admin/class-local-sync-shell-dump.php
r2245393 r2513252 294 294 295 295 private function local_sync_exec($command, $string = false, $rawreturn = false) { 296 if ($command == '') 296 if ($command == '') { 297 297 298 return false; 298 299 if (function_exists('exec')) { 300 $log = @exec($command, $output, $return); 301 302 local_sync_log($log, '---------------$log-----------------'); 303 local_sync_log($output, '---------------$output-----------------'); 304 305 if ($string) 306 return $log; 307 if ($rawreturn) 308 return $return; 309 310 return $return ? false : true; 311 } elseif (function_exists('system')) { 312 $log = @system($command, $return); 313 314 local_sync_log($log, '---------------$log-----------------'); 315 316 if ($string) 317 return $log; 318 319 if ($rawreturn) 320 return $return; 321 322 return $return ? false : true; 323 } else if (function_exists('passthru')) { 324 $log = passthru($command, $return); 325 326 local_sync_log($log, '---------------$log-----------------'); 327 328 if ($rawreturn) 329 return $return; 330 331 return $return ? false : true; 332 } 333 334 if ($rawreturn) 335 return -1; 336 337 return false; 299 } 300 301 $log = @exec($command, $output, $return); 302 303 local_sync_log($log, '---------------$log-----------------'); 304 local_sync_log($output, '---------------$output-----------------'); 305 306 if ($string) { 307 308 return $log; 309 } 310 311 if ($rawreturn) { 312 313 return $return; 314 } 315 316 return $return ? false : true; 338 317 } 339 318 -
local-sync/trunk/local-sync-bridge/class-local-sync-file-system.php
r2248180 r2513252 33 33 'Connection' => 'Keep-Alive', 34 34 'Keep-Alive' => 115, 35 'content-type' => 'application/binary',35 // 'content-type' => 'application/binary', 36 36 ), 37 37 'body' => base64_encode(json_encode($post_body)), … … 307 307 'blocking' => true, 308 308 'headers' => array( 309 'content-type' => 'application/binary',309 // 'content-type' => 'application/binary', 310 310 ), 311 311 'body' => base64_encode(json_encode($post_body)), -
local-sync/trunk/local-sync-constants.php
r2251904 r2513252 75 75 76 76 public function versions(){ 77 $this->define( 'LOCAL_SYNC_VERSION', '1.0. 3' );77 $this->define( 'LOCAL_SYNC_VERSION', '1.0.4' ); 78 78 $this->define( 'LOCAL_SYNC_DATABASE_VERSION', '1.0' ); 79 79 } -
local-sync/trunk/local-sync.php
r2251904 r2513252 12 12 * Plugin URI: https://localsync.io 13 13 * Description: Clone live site to the local site and vice versa. 14 * Version: 1.0. 314 * Version: 1.0.4 15 15 * Author: Revmakx 16 16 * Author URI: https://revmakx.com
Note: See TracChangeset
for help on using the changeset viewer.