Skip to content

Commit

Permalink
Pro release 4.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Honemo committed Jun 27, 2024
1 parent 84dcfd4 commit 6917660
Show file tree
Hide file tree
Showing 19 changed files with 406 additions and 186 deletions.
2 changes: 1 addition & 1 deletion assets/css/main.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions assets/js/notice.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,32 @@
var notice = Object.create( Notice );
notice.construct() && notice.init();
}( window._, window.jQuery, window.adminpage ) );

jQuery(document).ready(function ($) {
$('#backwpup_notice_evaluate_step_review').hide();
$('#backwpup_notice_evaluate_step_issue').hide();
$('#backwpup_notice_evaluate_step_thanks').hide();

$('.doubleLink').on('click', function(event) {
event.preventDefault();
window.open(this.href, '_blank');
$.ajax({
type : "get",
datatype : "html",
url : $(this).attr('hrefbis')
})
$('#backwpup_notice_evaluate_step_review').hide();
$('#backwpup_notice_evaluate_step_issue').hide();
$('#backwpup_notice_evaluate_step_thanks').show();
});

$('#backwpup_notice_evaluate_working').on('click', function(event) {
$('#backwpup_notice_evaluate_step1').hide();
$('#backwpup_notice_evaluate_step_review').show();
});

$('#backwpup_notice_evaluate_issues').on('click', function(event) {
$('#backwpup_notice_evaluate_step1').hide();
$('#backwpup_notice_evaluate_step_issue').show();
});
});
2 changes: 1 addition & 1 deletion assets/js/notice.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 9 additions & 3 deletions backwpup.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: WordPress Backup Plugin
* Author: BackWPup – WordPress Backup & Restore Plugin
* Author URI: https://backwpup.com
* Version: 4.1.1
* Version: 4.1.2
* Requires at least: 3.9
* Requires PHP: 7.2
* Text Domain: backwpup
Expand Down Expand Up @@ -268,8 +268,14 @@ public static function get_plugin_data($name = null)
/** @var string $wp_version */
self::$plugin_data['wp_version'] = $wp_version;
//Build User Agent
self::$plugin_data['user-agent'] = self::$plugin_data['name'] . '/' . self::$plugin_data['version'] . '; WordPress/' . self::$plugin_data['wp_version'] . '; ' . home_url();
}
self::$plugin_data['user-agent'] = self::$plugin_data['name'] . '/' . self::$plugin_data['version'] . '; WordPress/' . self::$plugin_data['wp_version'] . '; ' . home_url();

$activation_time = get_site_option( 'backwpup_activation_time' );
if ( ! $activation_time ) {
update_site_option( 'backwpup_activation_time', time() );
}
self::$plugin_data['activation_time'] = $activation_time;
}

if (!empty($name)) {
return self::$plugin_data[$name];
Expand Down
6 changes: 6 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
== Changelog ==
= 4.1.2 =
Release date: Jun 27, 2024

* Fixed: Open_basedir restriction on some servers
* Added: Notice to ask users their experience with BackWpUp

= 4.1.1 =
Release date: Jun 18, 2024

Expand Down
Loading

0 comments on commit 6917660

Please sign in to comment.