Plugin Directory

Changeset 2513252


Ignore:
Timestamp:
04/12/2021 11:50:25 AM (5 years ago)
Author:
localsync
Message:

release 1.0.4

Location:
local-sync/trunk
Files:
5 edited

Legend:

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

    r2251904 r2513252  
    22Contributors: localsync, dark-prince
    33Donate link: https://revmakx.com
    4 Tags: clone, migrate, local sync, local site, dev site, duplicate site, duplicator
     4Tags: clone, migrate, local sync, local site, dev site, duplicate site, duplicator, cloning, migration
    55Requires at least: 3.0.1
    6 Tested up to: 5.3.2
    7 Stable tag: 1.0.3
     6Tested up to: 5.7
     7Stable tag: 1.0.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4545== Changelog ==
    4646
     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
    4755= 1.0.3 =
    4856*Release Date - 28 Feb 2020*
  • local-sync/trunk/admin/class-local-sync-shell-dump.php

    r2245393 r2513252  
    294294
    295295    private function local_sync_exec($command, $string = false, $rawreturn = false) {
    296         if ($command == '')
     296        if ($command == '') {
     297
    297298            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;
    338317    }
    339318
  • local-sync/trunk/local-sync-bridge/class-local-sync-file-system.php

    r2248180 r2513252  
    3333                'Connection' => 'Keep-Alive',
    3434                'Keep-Alive' => 115,
    35                 'content-type'  => 'application/binary',
     35                // 'content-type'  => 'application/binary',
    3636            ),
    3737            'body' => base64_encode(json_encode($post_body)),
     
    307307            'blocking' => true,
    308308            'headers'     => array(
    309                 'content-type'  => 'application/binary',
     309                // 'content-type'  => 'application/binary',
    310310            ),
    311311            'body' => base64_encode(json_encode($post_body)),
  • local-sync/trunk/local-sync-constants.php

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

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