Version Description
Download this release
Release Info
Developer | willmot |
Plugin | BackUpWordPress |
Version | 2.6.1 |
Comparing to | |
See all releases |
Code changes from version 2.6 to 2.6.1
- admin/actions.php +2 -0
- admin/schedule-form.php +5 -2
- assets/hmbkp.js +1 -1
- backupwordpress.php +3 -3
- readme.txt +11 -3
admin/actions.php
CHANGED
@@ -332,6 +332,8 @@ add_action( 'wp_ajax_hmbkp_add_schedule_load', 'hmbkp_add_schedule_load' );
|
|
332 |
*/
|
333 |
function hmbkp_edit_schedule_submit() {
|
334 |
|
|
|
|
|
335 |
if ( empty( $_GET['hmbkp_schedule_id'] ) )
|
336 |
die;
|
337 |
|
332 |
*/
|
333 |
function hmbkp_edit_schedule_submit() {
|
334 |
|
335 |
+
check_ajax_referer( 'hmbkp_schedule_submit_action', 'hmbkp_schedule_submit_nonce' );
|
336 |
+
|
337 |
if ( empty( $_GET['hmbkp_schedule_id'] ) )
|
338 |
die;
|
339 |
|
admin/schedule-form.php
CHANGED
@@ -45,7 +45,10 @@
|
|
45 |
</div>
|
46 |
|
47 |
<?php if ( ! $start_time = $schedule->get_schedule_start_time() )
|
48 |
-
$start_time = time();
|
|
|
|
|
|
|
49 |
|
50 |
<div id="start-day" class="recurring-setting">
|
51 |
|
@@ -123,7 +126,7 @@
|
|
123 |
$service->field(); ?>
|
124 |
|
125 |
<p class="submit">
|
126 |
-
|
127 |
<button type="submit" class="button-primary"><?php _e( 'Update', 'hmbkp' ); ?></button>
|
128 |
|
129 |
</p>
|
45 |
</div>
|
46 |
|
47 |
<?php if ( ! $start_time = $schedule->get_schedule_start_time() )
|
48 |
+
$start_time = time();
|
49 |
+
|
50 |
+
$start_time += get_option( 'gmt_offset' ) * HOUR_IN_SECONDS;
|
51 |
+
?>
|
52 |
|
53 |
<div id="start-day" class="recurring-setting">
|
54 |
|
126 |
$service->field(); ?>
|
127 |
|
128 |
<p class="submit">
|
129 |
+
<?php wp_nonce_field( 'hmbkp_schedule_submit_action', 'hmbkp_schedule_submit_nonce' ); ?>
|
130 |
<button type="submit" class="button-primary"><?php _e( 'Update', 'hmbkp' ); ?></button>
|
131 |
|
132 |
</p>
|
assets/hmbkp.js
CHANGED
@@ -170,7 +170,7 @@ jQuery( document ).ready( function( $ ) {
|
|
170 |
|
171 |
$( this ).addClass( 'hmbkp-ajax-loading' ).text( '' ).attr( 'disabled', 'disabled' );
|
172 |
|
173 |
-
$.colorbox.resize(
|
174 |
|
175 |
e.preventDefault();
|
176 |
|
170 |
|
171 |
$( this ).addClass( 'hmbkp-ajax-loading' ).text( '' ).attr( 'disabled', 'disabled' );
|
172 |
|
173 |
+
$.colorbox.resize();
|
174 |
|
175 |
e.preventDefault();
|
176 |
|
backupwordpress.php
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
|
3 |
/*
|
4 |
Plugin Name: BackUpWordPress
|
5 |
-
Plugin URI: http://hmn.md/
|
6 |
Description: Simple automated backups of your WordPress powered website. Once activated you'll find me under <strong>Tools → Backups</strong>.
|
7 |
Author: Human Made Limited
|
8 |
-
Version: 2.6
|
9 |
Author URI: http://hmn.md/
|
10 |
*/
|
11 |
|
@@ -56,7 +56,7 @@ shuffle( $key );
|
|
56 |
define( 'HMBKP_SECURE_KEY', md5( serialize( $key ) ) );
|
57 |
|
58 |
if ( ! defined( 'HMBKP_REQUIRED_WP_VERSION' ) )
|
59 |
-
define( 'HMBKP_REQUIRED_WP_VERSION', '3.7.
|
60 |
|
61 |
// Max memory limit isn't defined in old versions of WordPress
|
62 |
if ( ! defined( 'WP_MAX_MEMORY_LIMIT' ) )
|
2 |
|
3 |
/*
|
4 |
Plugin Name: BackUpWordPress
|
5 |
+
Plugin URI: http://bwp.hmn.md/
|
6 |
Description: Simple automated backups of your WordPress powered website. Once activated you'll find me under <strong>Tools → Backups</strong>.
|
7 |
Author: Human Made Limited
|
8 |
+
Version: 2.6.1
|
9 |
Author URI: http://hmn.md/
|
10 |
*/
|
11 |
|
56 |
define( 'HMBKP_SECURE_KEY', md5( serialize( $key ) ) );
|
57 |
|
58 |
if ( ! defined( 'HMBKP_REQUIRED_WP_VERSION' ) )
|
59 |
+
define( 'HMBKP_REQUIRED_WP_VERSION', '3.7.3' );
|
60 |
|
61 |
// Max memory limit isn't defined in old versions of WordPress
|
62 |
if ( ! defined( 'WP_MAX_MEMORY_LIMIT' ) )
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== BackUpWordPress ===
|
2 |
Contributors: humanmade, willmot, pauldewouters, joehoyle, mattheu, tcrsavage, cuvelier
|
3 |
Tags: back up, backup, backups, database, zip, db, files, archive, wp-cli, humanmade
|
4 |
-
Requires at least: 3.7.
|
5 |
-
Tested up to: 3.9
|
6 |
-
Stable tag: 2.6
|
7 |
|
8 |
Simple automated backups of your WordPress powered website.
|
9 |
|
@@ -107,6 +107,14 @@ You can also tweet <a href="http://twitter.com/humanmadeltd">@humanmadeltd</a> o
|
|
107 |
|
108 |
== Changelog ==
|
109 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
#### 2.6
|
111 |
|
112 |
* It's now possible to choose the time and day that your schedule will run on.
|
1 |
=== BackUpWordPress ===
|
2 |
Contributors: humanmade, willmot, pauldewouters, joehoyle, mattheu, tcrsavage, cuvelier
|
3 |
Tags: back up, backup, backups, database, zip, db, files, archive, wp-cli, humanmade
|
4 |
+
Requires at least: 3.7.3
|
5 |
+
Tested up to: 3.9.1
|
6 |
+
Stable tag: 2.6.1
|
7 |
|
8 |
Simple automated backups of your WordPress powered website.
|
9 |
|
107 |
|
108 |
== Changelog ==
|
109 |
|
110 |
+
#### 2.6.1
|
111 |
+
|
112 |
+
* Bump minimum WP requirement to 3.7.3, the latest security release on the 3.7 branch.
|
113 |
+
* Fix an issues that could cause schedule times to fail to account for timezone differences.
|
114 |
+
* Add a nonce check to the schedule settings.
|
115 |
+
* Fix a possible JS warning when removing an exclude rule.
|
116 |
+
* Our unit tests now run in PHP 5.2 again.
|
117 |
+
|
118 |
#### 2.6
|
119 |
|
120 |
* It's now possible to choose the time and day that your schedule will run on.
|