Plugin Directory

Changeset 3360190


Ignore:
Timestamp:
09/12/2025 12:34:19 AM (7 months ago)
Author:
wpvivid
Message:

Update for backup free 0.9.119 trunk

Location:
wpvivid-backuprestore/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wpvivid-backuprestore/trunk/admin/partials/wpvivid-schedule-page-display.php

    r3053003 r3360190  
    4343                                <?php
    4444                                $time = '00:00:00';
    45                                 $utime = strtotime($time);
    46                                 echo '<p>1) '.'Scheduled job will start at <strong>UTC</strong> time:'.'&nbsp'.esc_html(gmdate('H:i:s', $utime)).'</p>';
     45                                $utime_1 = strtotime($time);
     46                                $time = '00:00:15';
     47                                $utime_2 = strtotime($time);
     48                                echo '<p>1) '.'Backup schedule will start at a random time between '.esc_html(gmdate('H:i:s', $utime_1)).' and '.esc_html(gmdate('H:i:s', $utime_2)).' <strong>UTC</strong> to prevent possible server overload from simultaneous backups of many sites.</p>';
    4749                                echo '<p>2) ';
    4850                                esc_html_e('Being subjected to mechanisms of PHP, a scheduled backup task for your site will be triggered only when the site receives at least a visit at any page.', 'wpvivid-backuprestore');
  • wpvivid-backuprestore/trunk/includes/class-wpvivid-schedule.php

    r3053003 r3360190  
    189189                foreach ($display_array as $display_key => $display_value){
    190190                    if($value == $display_key){
    191                         return strtotime($display_value);
     191                        $base_ts = strtotime($display_value);
     192                        $jitter = function_exists('wp_rand') ? wp_rand(0, 15 * 60) : rand(0, 15 * 60);
     193                        return $base_ts + $jitter;
    192194                    }
    193195                }
  • wpvivid-backuprestore/trunk/wpvivid-backuprestore.php

    r3343837 r3360190  
    88 * Plugin Name:       WPvivid Backup Plugin
    99 * Description:       Clone or copy WP sites then move or migrate them to new host (new domain), schedule backups, transfer backups to leading remote storage. All in one.
    10  * Version:           0.9.118
     10 * Version:           0.9.119
    1111 * Author:            WPvivid Backup & Migration
    1212 * Author URI:        https://wpvivid.com
     
    2222}
    2323
    24 define( 'WPVIVID_PLUGIN_VERSION', '0.9.118' );
     24define( 'WPVIVID_PLUGIN_VERSION', '0.9.119' );
    2525//
    2626define('WPVIVID_RESTORE_INIT','init');
Note: See TracChangeset for help on using the changeset viewer.