BackUpWordPress - Version 3.4.3

Version Description

= 3.4 =

  • This version introduces a major refactoring of the code responsible for the core backup engine. We made sure to write unit tests for the new code, and we have tested it on several user's sites. It fixes a lot of old bugs, and Windows users should see major improvements to reliability.

= 3.3.4 =

  • WordPress 4.4 compatibility.

= 3.3.1 =

  • Fixes a bug that would prevent downloading backups since 3.3.0 - please update.

= 3.2.5 =

  • Security fixes related to add_query_arg

= 3.2.1 =

  • Important bug fixes. Please upgrade to this version to avoid incomplete or broken backups.

= 3.1.3 =

  • Fixes backwards compatibility for add-ons and avoids a Fatal Error. Please upgrade straight to this version before upgrading your add-ons.

= 3.0.4 =

  • Fixes a few minor bugs. Immediate update is recommended.

= 3.0.2 =

  • Important: we have dropped support for PHP 5.2, you will not be able to activate BackUpWordPress on a server running PHP versions older than PHP 5.3.29

= 3.0.1 =

  • This is a critical update. Fixes a bug in the core backup library. Please update immediately.
Download this release

Release Info

Developer pauldewouters
Plugin Icon 128x128 BackUpWordPress
Version 3.4.3
Comparing to
See all releases

Code changes from version 3.4.2 to 3.4.3

backupwordpress.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: BackUpWordPress
4
  Plugin URI: http://bwp.hmn.md/
5
  Description: Simple automated backups of your WordPress powered website. Once activated you'll find me under <strong>Tools &rarr; Backups</strong>. On multisite, you'll find me under the Network Settings menu.
6
- Version: 3.4.2
7
  Author: Human Made Limited
8
  Author URI: http://hmn.md/
9
  License: GPL-2+
3
  Plugin Name: BackUpWordPress
4
  Plugin URI: http://bwp.hmn.md/
5
  Description: Simple automated backups of your WordPress powered website. Once activated you'll find me under <strong>Tools &rarr; Backups</strong>. On multisite, you'll find me under the Network Settings menu.
6
+ Version: 3.4.3
7
  Author: Human Made Limited
8
  Author URI: http://hmn.md/
9
  License: GPL-2+
classes/class-path.php CHANGED
@@ -106,7 +106,9 @@ class Path {
106
  if ( path_in_php_open_basedir( dirname( $site_path ) ) ) {
107
 
108
  // Handle wordpress installed in a subdirectory
109
- if ( file_exists( dirname( $site_path ) . '/wp-config.php' ) && ! file_exists( $site_path . '/wp-config.php' ) && file_exists( dirname( $site_path ) . '/index.php' ) ) {
 
 
110
  $home_path = dirname( $site_path );
111
  }
112
 
106
  if ( path_in_php_open_basedir( dirname( $site_path ) ) ) {
107
 
108
  // Handle wordpress installed in a subdirectory
109
+ // 1. index.php and wp-config.php found in parent dir
110
+ // 2. index.php in parent dir, wp-config.php in $site_path ( wp-config.php can be in both locations )
111
+ if ( ( file_exists( dirname( $site_path ) . '/wp-config.php' ) || file_exists( $site_path . '/wp-config.php' ) ) && file_exists( dirname( $site_path ) . '/index.php' ) ) {
112
  $home_path = dirname( $site_path );
113
  }
114
 
classes/class-plugin.php CHANGED
@@ -6,7 +6,8 @@ namespace HM\BackUpWordPress;
6
  * Class Plugin
7
  */
8
  final class Plugin {
9
- const PLUGIN_VERSION = '3.4.2';
 
10
 
11
  /**
12
  * @var Plugin The singleton instance.
6
  * Class Plugin
7
  */
8
  final class Plugin {
9
+
10
+ const PLUGIN_VERSION = '3.4.3';
11
 
12
  /**
13
  * @var Plugin The singleton instance.
composer.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name" : "humanmade/backupwordpress",
3
+ "description": "Simple automated backups of your WordPress powered website.",
4
+ "keywords" : [
5
+ "wordpress",
6
+ "backup"
7
+ ],
8
+ "type" : "wordpress-plugin",
9
+ "homepage" : "https://github.com/humanmade/backupwordpress",
10
+ "license" : "GPL-3.0",
11
+ "authors" : [
12
+ {
13
+ "name" : "Human Made Limited",
14
+ "email" : "backupwordpress@hmn.md",
15
+ "homepage": "https://bwp.hmn.md/"
16
+ }
17
+ ],
18
+ "support" : {
19
+ "issues": "https://github.com/humanmade/backupwordpress/issues"
20
+ },
21
+ "require": {
22
+ "symfony/finder": "~2.6",
23
+ "ifsnop/mysqldump-php":"2.*"
24
+ }
25
+ }
composer.lock ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_readme": [
3
+ "This file locks the dependencies of your project to a known state",
4
+ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
5
+ "This file is @generated automatically"
6
+ ],
7
+ "hash": "a5d481f4e8a2c50cc0c488d199f4c83e",
8
+ "content-hash": "77f3dd81e4007d746a29f10fd5dce8af",
9
+ "packages": [
10
+ {
11
+ "name": "ifsnop/mysqldump-php",
12
+ "version": "v2.1",
13
+ "source": {
14
+ "type": "git",
15
+ "url": "https://github.com/ifsnop/mysqldump-php.git",
16
+ "reference": "701024dd160f15796bed8130c3bdeb26c634785a"
17
+ },
18
+ "dist": {
19
+ "type": "zip",
20
+ "url": "https://api.github.com/repos/ifsnop/mysqldump-php/zipball/701024dd160f15796bed8130c3bdeb26c634785a",
21
+ "reference": "701024dd160f15796bed8130c3bdeb26c634785a",
22
+ "shasum": ""
23
+ },
24
+ "require": {
25
+ "php": ">=5.3.0"
26
+ },
27
+ "require-dev": {
28
+ "phpunit/phpunit": "3.7.*",
29
+ "squizlabs/php_codesniffer": "1.*"
30
+ },
31
+ "type": "library",
32
+ "autoload": {
33
+ "psr-4": {
34
+ "Ifsnop\\": "src/Ifsnop/"
35
+ }
36
+ },
37
+ "notification-url": "https://packagist.org/downloads/",
38
+ "license": [
39
+ "MIT"
40
+ ],
41
+ "authors": [
42
+ {
43
+ "name": "Diego Torres",
44
+ "homepage": "https://github.com/ifsnop",
45
+ "role": "Developer"
46
+ }
47
+ ],
48
+ "description": "This is a php version of linux's mysqldump in terminal \"$ mysqldump -u username -p...\"",
49
+ "homepage": "https://github.com/ifsnop/mysqldump-php",
50
+ "keywords": [
51
+ "backup",
52
+ "database",
53
+ "dump",
54
+ "export",
55
+ "mysql",
56
+ "mysqldump",
57
+ "pdo",
58
+ "sqlite"
59
+ ],
60
+ "time": "2015-10-19 15:58:11"
61
+ },
62
+ {
63
+ "name": "symfony/finder",
64
+ "version": "v2.8.2",
65
+ "source": {
66
+ "type": "git",
67
+ "url": "https://github.com/symfony/finder.git",
68
+ "reference": "c90fabdd97e431ee19b6383999cf35334dff27da"
69
+ },
70
+ "dist": {
71
+ "type": "zip",
72
+ "url": "https://api.github.com/repos/symfony/finder/zipball/c90fabdd97e431ee19b6383999cf35334dff27da",
73
+ "reference": "c90fabdd97e431ee19b6383999cf35334dff27da",
74
+ "shasum": ""
75
+ },
76
+ "require": {
77
+ "php": ">=5.3.9"
78
+ },
79
+ "type": "library",
80
+ "extra": {
81
+ "branch-alias": {
82
+ "dev-master": "2.8-dev"
83
+ }
84
+ },
85
+ "autoload": {
86
+ "psr-4": {
87
+ "Symfony\\Component\\Finder\\": ""
88
+ },
89
+ "exclude-from-classmap": [
90
+ "/Tests/"
91
+ ]
92
+ },
93
+ "notification-url": "https://packagist.org/downloads/",
94
+ "license": [
95
+ "MIT"
96
+ ],
97
+ "authors": [
98
+ {
99
+ "name": "Fabien Potencier",
100
+ "email": "fabien@symfony.com"
101
+ },
102
+ {
103
+ "name": "Symfony Community",
104
+ "homepage": "https://symfony.com/contributors"
105
+ }
106
+ ],
107
+ "description": "Symfony Finder Component",
108
+ "homepage": "https://symfony.com",
109
+ "time": "2016-01-14 08:26:52"
110
+ }
111
+ ],
112
+ "packages-dev": [],
113
+ "aliases": [],
114
+ "minimum-stability": "stable",
115
+ "stability-flags": [],
116
+ "prefer-stable": false,
117
+ "prefer-lowest": false,
118
+ "platform": [],
119
+ "platform-dev": []
120
+ }
languages/backupwordpress.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the GPL-2+.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: BackUpWordPress 3.4.2\n"
6
  "Report-Msgid-Bugs-To: backupwordpress@hmn.md\n"
7
- "POT-Creation-Date: 2016-01-25 16:25:00+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -799,7 +799,7 @@ msgstr ""
799
  msgid "Unfortunately, the backup file was too large to attach to this email."
800
  msgstr ""
801
 
802
- #: classes/class-path.php:336
803
  msgid "This %s file ensures that other people cannot download your backup files."
804
  msgstr ""
805
 
2
  # This file is distributed under the GPL-2+.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: BackUpWordPress 3.4.3\n"
6
  "Report-Msgid-Bugs-To: backupwordpress@hmn.md\n"
7
+ "POT-Creation-Date: 2016-02-01 16:52:33+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
799
  msgid "Unfortunately, the backup file was too large to attach to this email."
800
  msgstr ""
801
 
802
+ #: classes/class-path.php:338
803
  msgid "This %s file ensures that other people cannot download your backup files."
804
  msgstr ""
805
 
readme.md ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <table width="100%">
2
+ <tr>
3
+ <td align="left" width="70">
4
+ <strong><a href="https://bwp.hmn.md/">BackUpWordPress</a></strong><br />
5
+ Simple automated backups of your WordPress powered website.
6
+ </td>
7
+ <td align="right" width="20%">
8
+ <a href="https://travis-ci.org/humanmade/backupwordpress">
9
+ <img src="https://travis-ci.org/humanmade/backupwordpress.svg?branch=master" alt="Build status">
10
+ </a>
11
+ <a href="https://scrutinizer-ci.com/g/humanmade/backupwordpress/">
12
+ <img src="https://scrutinizer-ci.com/g/humanmade/backupwordpress/badges/coverage.png?b=master" alt="Coverage via Scrutiniser" />
13
+ </a>
14
+ </td>
15
+ </tr>
16
+ <tr>
17
+ <td>
18
+ A <strong><a href="https://hmn.md/">Human Made</a></strong> project. Maintained by @pdewouters.
19
+ </td>
20
+ <td align="center">
21
+ <img src="https://hmn.md/content/themes/hmnmd/assets/images/hm-logo.svg" width="100" />
22
+ </td>
23
+ </tr>
24
+ </table>
25
+
26
+ BackUpWordPress is a well tested, onsite backup plugin for WordPress. It's supports sending backups to cloud services through premium extensions
27
+
28
+ Stop using outdated practices, and start making sense.
29
+
30
+ ## Requirements
31
+ BackUpWordPress requires WordPress 3.9 or newer and requires PHP 5.3+ due to the use of namespaced code.
32
+
33
+ ## Installation
34
+ Just install like any other plugin
35
+
36
+ ## Contributing
37
+ Read our [contributing.md](https://github.com/humanmade/backupwordpress/blob/master/CONTRIBUTING.md) file
38
+
39
+
40
+ ## License
41
+ BackUpWordPress is licensed under the GPLv2 or later.
42
+
43
+ ## Credits
44
+ Created by Human Made for high volume and large-scale sites. BackUpWordPress is used on over 200,000 sites worldwide.
45
+
46
+ Written and maintained by [Tom Willmot](https://github.com/willmot) & [Paul De Wouters](https://github.com/pdwouters). Thanks to all our [contributors](https://github.com/humanmade/backupwordpress/graphs/contributors).
47
+
48
+ BackUpWordPress was originally developed by [wpdprx](http://profiles.wordpress.org/users/wpdprx/) before being taken over by Human Made.
49
+
50
+ ---
51
+
52
+ Interested in joining in on the fun? [Join us, and become human!](https://hmn.md/is/hiring/)
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: humanmade, willmot, pauldewouters, joehoyle, mattheu, tcrsavage, c
3
  Tags: back up, backup, backups, database, zip, db, files, archive, wp-cli, humanmade
4
  Requires at least: 3.9
5
  Tested up to: 4.4.1
6
- Stable tag: 3.4.2
7
 
8
  Simple automated backups of your WordPress-powered website.
9
 
@@ -158,6 +158,10 @@ users should see major improvements to reliability.
158
 
159
  == Changelog ==
160
 
 
 
 
 
161
  ### 3.4.2
162
 
163
  * Remove the usage of `shell_exec` in two of our warning messages, fixes a PHP Warning on systems with it disabled.
3
  Tags: back up, backup, backups, database, zip, db, files, archive, wp-cli, humanmade
4
  Requires at least: 3.9
5
  Tested up to: 4.4.1
6
+ Stable tag: 3.4.3
7
 
8
  Simple automated backups of your WordPress-powered website.
9
 
158
 
159
  == Changelog ==
160
 
161
+ ### 3.4.3
162
+
163
+ * Fix a bug where backups were not downloadable when WordPress installed in a subdirectory
164
+
165
  ### 3.4.2
166
 
167
  * Remove the usage of `shell_exec` in two of our warning messages, fixes a PHP Warning on systems with it disabled.