Version Description
- 2022-05-09 =
- Security: "Scheduled Backup" form now has nonce check
Download this release
Release Info
Developer | deliciousbrains |
Plugin | WP-DB-Backup |
Version | 2.5.2 |
Comparing to | |
See all releases |
Code changes from version 2.5.1 to 2.5.2
- README.md +4 -0
- readme.txt +5 -2
- wp-db-backup.php +4 -2
README.md
CHANGED
@@ -101,6 +101,10 @@ When having the database backup emailed or sent to your browser for immediate do
|
|
101 |
Changelog
|
102 |
---------
|
103 |
|
|
|
|
|
|
|
|
|
104 |
2.5.1
|
105 |
-----
|
106 |
* Security: Make sure table exists before attempting backup
|
101 |
Changelog
|
102 |
---------
|
103 |
|
104 |
+
2.5.2
|
105 |
+
-----
|
106 |
+
* Security: "Scheduled Backup" form now has nonce check
|
107 |
+
|
108 |
2.5.1
|
109 |
-----
|
110 |
* Security: Make sure table exists before attempting backup
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: deliciousbrains
|
3 |
Tags: mysql, database, backup, database backup
|
4 |
Requires at least: 3.6.0
|
5 |
-
Tested up to:
|
6 |
-
Stable tag: 2.5.
|
7 |
Requires PHP: 5.3
|
8 |
|
9 |
Database Backup for WordPress is your one-stop database backup solution for WordPress.
|
@@ -96,6 +96,9 @@ The plugin will attempt to create a directory `/wp-content/backup-*/` inside you
|
|
96 |
|
97 |
== Changelog ==
|
98 |
|
|
|
|
|
|
|
99 |
= 2.5.1 - 2022-01-17 =
|
100 |
* Security: Make sure table exists before attempting backup
|
101 |
|
2 |
Contributors: deliciousbrains
|
3 |
Tags: mysql, database, backup, database backup
|
4 |
Requires at least: 3.6.0
|
5 |
+
Tested up to: 6.0
|
6 |
+
Stable tag: 2.5.2
|
7 |
Requires PHP: 5.3
|
8 |
|
9 |
Database Backup for WordPress is your one-stop database backup solution for WordPress.
|
96 |
|
97 |
== Changelog ==
|
98 |
|
99 |
+
= 2.5.2 - 2022-05-09 =
|
100 |
+
* Security: "Scheduled Backup" form now has nonce check
|
101 |
+
|
102 |
= 2.5.1 - 2022-01-17 =
|
103 |
* Security: Make sure table exists before attempting backup
|
104 |
|
wp-db-backup.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://github.com/deliciousbrains/wp-db-backup
|
|
5 |
Description: On-demand backup of your WordPress database. Navigate to <a href="edit.php?page=wp-db-backup">Tools → Backup</a> to get started.
|
6 |
Author: Delicious Brains
|
7 |
Author URI: https://deliciousbrains.com
|
8 |
-
Version: 2.5.
|
9 |
Domain Path: /languages
|
10 |
|
11 |
This program is free software; you can redistribute it and/or modify
|
@@ -51,7 +51,7 @@ class wpdbBackup {
|
|
51 |
var $basename;
|
52 |
var $page_url;
|
53 |
var $referer_check_key;
|
54 |
-
var $version = '2.5.
|
55 |
|
56 |
function module_check() {
|
57 |
$mod_evasive = false;
|
@@ -1162,6 +1162,8 @@ class wpdbBackup {
|
|
1162 |
|
1163 |
// did we just save options for wp-cron?
|
1164 |
if ( ( function_exists( 'wp_schedule_event' ) || function_exists( 'wp_cron_init' ) ) && isset( $_POST['wp_cron_backup_options'] ) ) :
|
|
|
|
|
1165 |
do_action( 'wp_db_b_update_cron_options' );
|
1166 |
|
1167 |
if ( function_exists( 'wp_schedule_event' ) ) {
|
5 |
Description: On-demand backup of your WordPress database. Navigate to <a href="edit.php?page=wp-db-backup">Tools → Backup</a> to get started.
|
6 |
Author: Delicious Brains
|
7 |
Author URI: https://deliciousbrains.com
|
8 |
+
Version: 2.5.2
|
9 |
Domain Path: /languages
|
10 |
|
11 |
This program is free software; you can redistribute it and/or modify
|
51 |
var $basename;
|
52 |
var $page_url;
|
53 |
var $referer_check_key;
|
54 |
+
var $version = '2.5.2';
|
55 |
|
56 |
function module_check() {
|
57 |
$mod_evasive = false;
|
1162 |
|
1163 |
// did we just save options for wp-cron?
|
1164 |
if ( ( function_exists( 'wp_schedule_event' ) || function_exists( 'wp_cron_init' ) ) && isset( $_POST['wp_cron_backup_options'] ) ) :
|
1165 |
+
check_admin_referer( $this->referer_check_key );
|
1166 |
+
|
1167 |
do_action( 'wp_db_b_update_cron_options' );
|
1168 |
|
1169 |
if ( function_exists( 'wp_schedule_event' ) ) {
|