WordPress.org

Support

Support » Plugins and Hacks » WP-DB-Backup » Scheduled backup time setting and UTC

Scheduled backup time setting and UTC

  • The Change option under Scheduled Backup setting doesn’t take the GMT offset into account. You can see this by clicking the Change button, keeping the saved value and then clicking Save. You will see that the saved time is now earlier by whatever your offset is. To fix it, change line 653 as follows:
    from:
    $time = strtotime(strval($_POST['backup-time']));
    to:
    $time = strtotime(strval($_POST['backup-time'])) - (get_option('gmt_offset') * 3600);

    https://wordpress.org/plugins/wp-db-backup/

  • The topic ‘Scheduled backup time setting and UTC’ is closed to new replies.
Skip to toolbar