Skip to content

Commit 39050d4

Browse files
committed
Release 3.2.0
1 parent 179a7d9 commit 39050d4

23 files changed

+26636
-33107
lines changed

backwpup.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@
55
* Description: WordPress Backup Plugin
66
* Author: Inpsyde GmbH
77
* Author URI: http://inpsyde.com
8-
* Version: 3.2.0-rc1
8+
* Version: 3.2.0
99
* Text Domain: backwpup
1010
* Domain Path: /languages/
1111
* Network: true
1212
* License: GPLv3
1313
* License URI: http://www.gnu.org/licenses/gpl-3.0
14-
* Slug: backwpup
1514
*/
1615

1716
/**
@@ -36,11 +35,7 @@
3635

3736
// Don't activate on anything less than PHP 5.2.7 or WordPress 3.1
3837
if ( version_compare( PHP_VERSION, '5.2.7', '<' ) || version_compare( get_bloginfo( 'version' ), '3.4', '<' ) || ! function_exists( 'spl_autoload_register' ) ) {
39-
require_once ABSPATH . 'wp-admin/includes/plugin.php';
40-
deactivate_plugins( basename( __FILE__ ) );
41-
if ( isset( $_GET['action'] ) && ( $_GET['action'] == 'activate' || $_GET['action'] == 'error_scrape' ) ) {
42-
die( __( 'BackWPup requires PHP version 5.2.7 with spl extension or greater and WordPress 3.4 or greater.', 'backwpup' ) );
43-
}
38+
die( 'BackWPup requires PHP version 5.2.7 with spl extension or greater and WordPress 3.4 or greater.' );
4439
}
4540

4641
//Start Plugin
@@ -148,7 +143,6 @@ public static function get_plugin_data( $name = NULL ) {
148143
'authoruri' => 'Author URI',
149144
'textdomain' => 'Text Domain',
150145
'domainpath' => 'Domain Path',
151-
'slug' => 'Slug',
152146
'license' => 'License',
153147
'licenseuri' => 'License URI'
154148
), 'plugin' );

inc/class-job.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2164,7 +2164,7 @@ private function create_archive() {
21642164
}
21652165

21662166
if ( $this->backup_filesize >= PHP_INT_MAX ) {
2167-
$this->log( __( 'The Backup archive will be too large for for file operations with this PHP Version. You might want to consider splitting the backup job in multiple jobs with less files each.', 'backwpup' ), E_USER_ERROR );
2167+
$this->log( __( 'The Backup archive will be too large for file operations with this PHP Version. You might want to consider splitting the backup job in multiple jobs with less files each.', 'backwpup' ), E_USER_ERROR );
21682168
$this->end();
21692169
}
21702170
else {

inc/class-page-about.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ public static function page() {
432432
<?php } ?>
433433
<?php
434434
if ( class_exists( 'BackWPup_Pro', FALSE ) ) :
435-
$autoupdate = BackWPup_Pro_MarketPress_Autoupdate::get_instance( BackWPup::get_plugin_data( 'Slug' ) , BackWPup::get_plugin_data( 'MainFile' ) );
435+
$autoupdate = BackWPup_Pro_MarketPress_Autoupdate::get_instance();
436436
if ( $autoupdate->license_check() == 'false' ) :
437437
$plugins = get_plugins();
438438
$localplugin = FALSE;

inc/class-page-settings.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,14 @@ class="regular-text" />
413413
echo '<tr title=""><td>' . __( 'BackWPup version', 'backwpup' ) . '</td><td>' . BackWPup::get_plugin_data( 'Version' ) . ' <a href="' . translate( BackWPup::get_plugin_data( 'pluginuri' ), 'backwpup' ) . '">' . __( 'Get pro.', 'backwpup' ) . '</a></td></tr>';
414414
else
415415
echo '<tr title=""><td>' . __( 'BackWPup Pro version', 'backwpup' ) . '</td><td>' . BackWPup::get_plugin_data( 'Version' ) . '</td></tr>';
416-
echo '<tr title="&gt;=5.3.3"><td>' . __( 'PHP version', 'backwpup' ) . '</td><td>' . PHP_VERSION . '</td></tr>';
416+
$bit = '';
417+
if ( PHP_INT_SIZE === 4 ) {
418+
$bit = ' (32bit)';
419+
}
420+
if ( PHP_INT_SIZE === 8 ) {
421+
$bit = ' (64bit)';
422+
}
423+
echo '<tr title="&gt;=5.3.3"><td>' . __( 'PHP version', 'backwpup' ) . '</td><td>' . PHP_VERSION . ' ' . $bit . '</td></tr>';
417424
echo '<tr title="&gt;=5.0.7"><td>' . __( 'MySQL version', 'backwpup' ) . '</td><td>' . $wpdb->get_var( "SELECT VERSION() AS version" ) . '</td></tr>';
418425
if ( function_exists( 'curl_version' ) ) {
419426
$curlversion = curl_version();

languages/backwpup-de_DE.mo

404 Bytes
Binary file not shown.

languages/backwpup-de_DE.po

Lines changed: 240 additions & 222 deletions
Large diffs are not rendered by default.

languages/backwpup-es_ES.mo

-3.52 KB
Binary file not shown.

0 commit comments

Comments
 (0)