Version Description
Release date: July 6th, 2020
- Bug fix: Site check emails sent regardless of user preference.
Download this release
Release Info
Developer | boldgrid |
Plugin | Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid |
Version | 1.13.12 |
Comparing to | |
See all releases |
Code changes from version branch.issue-320.202007011400 to 1.13.12
- admin/class-boldgrid-backup-admin-jobs.php +0 -33
- boldgrid-backup.php +1 -1
- cli/class-info.php +3 -3
- coverage.xml +84 -98
- readme.txt +7 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +4 -4
admin/class-boldgrid-backup-admin-jobs.php
CHANGED
@@ -41,15 +41,6 @@ class Boldgrid_Backup_Admin_Jobs {
|
|
41 |
*/
|
42 |
private $core;
|
43 |
|
44 |
-
/**
|
45 |
-
* An instance of our log class.
|
46 |
-
*
|
47 |
-
* @since 1.13.11
|
48 |
-
* @access private
|
49 |
-
* @var Boldgrid_Backup_Admin_Log
|
50 |
-
*/
|
51 |
-
private $logger;
|
52 |
-
|
53 |
/**
|
54 |
* An array of jobs.
|
55 |
*
|
@@ -87,11 +78,6 @@ class Boldgrid_Backup_Admin_Jobs {
|
|
87 |
* this class for more information.
|
88 |
*/
|
89 |
public function add( $args ) {
|
90 |
-
// Add info to our logs about this even we're adding.
|
91 |
-
$action = empty( $args['action'] ) ? 'Unknown action' : $args['action'];
|
92 |
-
$this->init_logger();
|
93 |
-
$this->logger->add( 'Adding job. Action = ' . $action );
|
94 |
-
|
95 |
if ( empty( $args['action'] ) ) {
|
96 |
return false;
|
97 |
}
|
@@ -101,8 +87,6 @@ class Boldgrid_Backup_Admin_Jobs {
|
|
101 |
$this->set_jobs();
|
102 |
$this->jobs[] = $args;
|
103 |
$this->save_jobs();
|
104 |
-
|
105 |
-
$this->logger->add( 'Job added. Total number of jobs: ' . count( $this->jobs ) );
|
106 |
}
|
107 |
|
108 |
/**
|
@@ -133,18 +117,6 @@ class Boldgrid_Backup_Admin_Jobs {
|
|
133 |
$this->save_jobs();
|
134 |
}
|
135 |
|
136 |
-
/**
|
137 |
-
* Setup our logger.
|
138 |
-
*
|
139 |
-
* @since 1.13.11
|
140 |
-
*/
|
141 |
-
private function init_logger() {
|
142 |
-
if ( is_null( $this->logger ) ) {
|
143 |
-
$this->logger = new Boldgrid_Backup_Admin_Log( $this->core );
|
144 |
-
$this->logger->init( 'jobs.log' );
|
145 |
-
}
|
146 |
-
}
|
147 |
-
|
148 |
/**
|
149 |
* Determine if we have any jobs currently running.
|
150 |
*
|
@@ -269,21 +241,16 @@ class Boldgrid_Backup_Admin_Jobs {
|
|
269 |
wp_die();
|
270 |
}
|
271 |
|
272 |
-
$this->init_logger();
|
273 |
-
$this->logger->add( 'Running the jobs queue. ' . count( $this->jobs ) . ' job(s) in the queue.' );
|
274 |
-
|
275 |
foreach ( $this->jobs as $key => &$job ) {
|
276 |
if ( 'pending' !== $job['status'] ) {
|
277 |
continue;
|
278 |
}
|
279 |
|
280 |
-
$this->logger->add( 'Running job: ' . $job['action'] );
|
281 |
$job['start_time'] = time();
|
282 |
$this->save_jobs();
|
283 |
|
284 |
$status = apply_filters( $job['action'], $job['action_data'] );
|
285 |
|
286 |
-
$this->logger->add( 'Finished job: ' . $job['action'] );
|
287 |
$job['end_time'] = time();
|
288 |
$job['status'] = $status ? 'success' : 'fail';
|
289 |
$this->save_jobs();
|
41 |
*/
|
42 |
private $core;
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
/**
|
45 |
* An array of jobs.
|
46 |
*
|
78 |
* this class for more information.
|
79 |
*/
|
80 |
public function add( $args ) {
|
|
|
|
|
|
|
|
|
|
|
81 |
if ( empty( $args['action'] ) ) {
|
82 |
return false;
|
83 |
}
|
87 |
$this->set_jobs();
|
88 |
$this->jobs[] = $args;
|
89 |
$this->save_jobs();
|
|
|
|
|
90 |
}
|
91 |
|
92 |
/**
|
117 |
$this->save_jobs();
|
118 |
}
|
119 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
/**
|
121 |
* Determine if we have any jobs currently running.
|
122 |
*
|
241 |
wp_die();
|
242 |
}
|
243 |
|
|
|
|
|
|
|
244 |
foreach ( $this->jobs as $key => &$job ) {
|
245 |
if ( 'pending' !== $job['status'] ) {
|
246 |
continue;
|
247 |
}
|
248 |
|
|
|
249 |
$job['start_time'] = time();
|
250 |
$this->save_jobs();
|
251 |
|
252 |
$status = apply_filters( $job['action'], $job['action_data'] );
|
253 |
|
|
|
254 |
$job['end_time'] = time();
|
255 |
$job['status'] = $status ? 'success' : 'fail';
|
256 |
$this->save_jobs();
|
boldgrid-backup.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* Plugin Name: Total Upkeep
|
17 |
* Plugin URI: https://www.boldgrid.com/boldgrid-backup/
|
18 |
* Description: Automated backups, remote backup to Amazon S3 and Google Drive, stop website crashes before they happen and more. Total Upkeep is the backup solution you need.
|
19 |
-
* Version: 1.13.
|
20 |
* Author: BoldGrid
|
21 |
* Author URI: https://www.boldgrid.com/
|
22 |
* License: GPL-2.0+
|
16 |
* Plugin Name: Total Upkeep
|
17 |
* Plugin URI: https://www.boldgrid.com/boldgrid-backup/
|
18 |
* Description: Automated backups, remote backup to Amazon S3 and Google Drive, stop website crashes before they happen and more. Total Upkeep is the backup solution you need.
|
19 |
+
* Version: 1.13.12
|
20 |
* Author: BoldGrid
|
21 |
* Author URI: https://www.boldgrid.com/
|
22 |
* License: GPL-2.0+
|
cli/class-info.php
CHANGED
@@ -189,7 +189,7 @@ class Info {
|
|
189 |
break;
|
190 |
}
|
191 |
|
192 |
-
$usage = 'Usage: php bgbkup-cli.php <check|restore> [log] [notify] [email=<email_address>] [method=<ajax|cli|pclzip|ziparchive>] [zip=<path/to/backup.zip>] [log_level=<(LOG_EMERG|LOG_ALERT|LOG_CRIT|LOG_ERR|LOG_WARNING|LOG_NOTICE|LOG_INFO|LOG_DEBUG)|(0-7)>]';
|
193 |
|
194 |
if ( 'help' === self::$info['operation'] ) {
|
195 |
self::$info['errors']['help'] = $usage;
|
@@ -300,7 +300,7 @@ class Info {
|
|
300 |
*/
|
301 |
public static function get_log_flag() {
|
302 |
if ( ! isset( self::$info['log'] ) ) {
|
303 |
-
self::$info['log'] = self::
|
304 |
}
|
305 |
|
306 |
return self::$info['log'];
|
@@ -361,7 +361,7 @@ class Info {
|
|
361 |
*/
|
362 |
public static function get_notify_flag() {
|
363 |
if ( ! isset( self::$info['notify'] ) ) {
|
364 |
-
self::$info['notify'] = self::
|
365 |
}
|
366 |
|
367 |
return self::$info['notify'];
|
189 |
break;
|
190 |
}
|
191 |
|
192 |
+
$usage = 'Usage: php bgbkup-cli.php <check|restore> [log=<0|1>] [notify=<0|1>] [email=<email_address>] [method=<ajax|cli|pclzip|ziparchive>] [zip=<path/to/backup.zip>] [log_level=<(LOG_EMERG|LOG_ALERT|LOG_CRIT|LOG_ERR|LOG_WARNING|LOG_NOTICE|LOG_INFO|LOG_DEBUG)|(0-7)>]';
|
193 |
|
194 |
if ( 'help' === self::$info['operation'] ) {
|
195 |
self::$info['errors']['help'] = $usage;
|
300 |
*/
|
301 |
public static function get_log_flag() {
|
302 |
if ( ! isset( self::$info['log'] ) ) {
|
303 |
+
self::$info['log'] = (bool) self::get_arg_value( 'log' );
|
304 |
}
|
305 |
|
306 |
return self::$info['log'];
|
361 |
*/
|
362 |
public static function get_notify_flag() {
|
363 |
if ( ! isset( self::$info['notify'] ) ) {
|
364 |
+
self::$info['notify'] = (bool) self::get_arg_value( 'notify' );
|
365 |
}
|
366 |
|
367 |
return self::$info['notify'];
|
coverage.xml
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<coverage generated="
|
3 |
-
<project timestamp="
|
4 |
<package name="Boldgrid\Backup\Admin\Card">
|
5 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-amazon-s3.php">
|
6 |
<class name="Amazon_S3" namespace="Boldgrid\Backup\Admin\Card" fullPackage="Amazon">
|
@@ -2065,7 +2065,7 @@
|
|
2065 |
<line num="284" type="stmt" count="6"/>
|
2066 |
<line num="287" type="stmt" count="6"/>
|
2067 |
<line num="288" type="stmt" count="6"/>
|
2068 |
-
<line num="289" type="stmt" count="
|
2069 |
<line num="292" type="stmt" count="6"/>
|
2070 |
<line num="294" type="stmt" count="6"/>
|
2071 |
<line num="295" type="stmt" count="6"/>
|
@@ -5296,125 +5296,111 @@
|
|
5296 |
</file>
|
5297 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-jobs.php">
|
5298 |
<class name="Boldgrid_Backup_Admin_Jobs" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
5299 |
-
<metrics complexity="
|
5300 |
</class>
|
5301 |
-
<line num="
|
5302 |
-
<line num="
|
5303 |
-
<line num="
|
5304 |
-
<line num="
|
5305 |
-
<line num="
|
5306 |
-
<line num="
|
5307 |
-
<line num="
|
5308 |
-
<line num="
|
5309 |
-
<line num="
|
5310 |
-
<line num="
|
5311 |
-
<line num="
|
5312 |
-
<line num="102" type="
|
5313 |
-
<line num="
|
5314 |
<line num="105" type="stmt" count="0"/>
|
5315 |
-
<line num="
|
5316 |
-
<line num="
|
5317 |
-
<line num="
|
5318 |
-
<line num="
|
5319 |
-
<line num="
|
5320 |
-
<line num="
|
5321 |
-
<line num="
|
|
|
|
|
|
|
5322 |
<line num="128" type="stmt" count="0"/>
|
5323 |
-
<line num="129" type="stmt" count="0"/>
|
5324 |
<line num="130" type="stmt" count="0"/>
|
|
|
5325 |
<line num="132" type="stmt" count="0"/>
|
5326 |
-
<line num="133" type="stmt" count="0"/>
|
5327 |
<line num="134" type="stmt" count="0"/>
|
5328 |
-
<line num="
|
5329 |
-
<line num="
|
5330 |
-
<line num="143" type="stmt" count="0"/>
|
5331 |
-
<line num="144" type="stmt" count="0"/>
|
5332 |
-
<line num="145" type="stmt" count="0"/>
|
5333 |
-
<line num="146" type="stmt" count="0"/>
|
5334 |
-
<line num="155" type="method" name="is_running" visibility="public" complexity="3" crap="12" count="0"/>
|
5335 |
<line num="156" type="stmt" count="0"/>
|
5336 |
-
<line num="
|
5337 |
-
<line num="159" type="stmt" count="0"/>
|
5338 |
<line num="160" type="stmt" count="0"/>
|
5339 |
-
<line num="
|
5340 |
-
<line num="
|
5341 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5342 |
<line num="184" type="stmt" count="0"/>
|
5343 |
-
<line num="
|
5344 |
<line num="188" type="stmt" count="0"/>
|
5345 |
-
<line num="
|
5346 |
-
<line num="
|
5347 |
<line num="194" type="stmt" count="0"/>
|
5348 |
<line num="195" type="stmt" count="0"/>
|
5349 |
<line num="196" type="stmt" count="0"/>
|
5350 |
-
<line num="197" type="stmt" count="0"/>
|
5351 |
<line num="199" type="stmt" count="0"/>
|
5352 |
<line num="200" type="stmt" count="0"/>
|
5353 |
-
<line num="
|
5354 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5355 |
<line num="212" type="stmt" count="0"/>
|
5356 |
<line num="214" type="stmt" count="0"/>
|
5357 |
-
<line num="
|
5358 |
-
<line num="
|
|
|
5359 |
<line num="220" type="stmt" count="0"/>
|
5360 |
-
<line num="
|
5361 |
<line num="223" type="stmt" count="0"/>
|
5362 |
-
<line num="
|
5363 |
-
<line num="
|
5364 |
-
<line num="228" type="stmt" count="0"/>
|
5365 |
-
<line num="229" type="stmt" count="0"/>
|
5366 |
-
<line num="230" type="stmt" count="0"/>
|
5367 |
-
<line num="231" type="stmt" count="0"/>
|
5368 |
-
<line num="232" type="stmt" count="0"/>
|
5369 |
-
<line num="233" type="stmt" count="0"/>
|
5370 |
-
<line num="234" type="stmt" count="0"/>
|
5371 |
-
<line num="235" type="stmt" count="0"/>
|
5372 |
-
<line num="236" type="stmt" count="0"/>
|
5373 |
<line num="237" type="stmt" count="0"/>
|
5374 |
-
<line num="239" type="stmt" count="0"/>
|
5375 |
<line num="240" type="stmt" count="0"/>
|
|
|
5376 |
<line num="242" type="stmt" count="0"/>
|
5377 |
-
<line num="
|
5378 |
<line num="245" type="stmt" count="0"/>
|
5379 |
-
<line num="
|
5380 |
-
<line num="248" type="stmt" count="0"/>
|
5381 |
<line num="249" type="stmt" count="0"/>
|
5382 |
-
<line num="
|
5383 |
-
<line num="
|
5384 |
-
<line num="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5385 |
<line num="265" type="stmt" count="0"/>
|
5386 |
-
<line num="
|
5387 |
-
<line num="
|
5388 |
-
<line num="
|
5389 |
-
<line num="272" type="stmt" count="0"/>
|
5390 |
-
<line num="273" type="stmt" count="0"/>
|
5391 |
<line num="275" type="stmt" count="0"/>
|
5392 |
-
<line num="
|
5393 |
-
<line num="
|
5394 |
-
<line num="280" type="stmt" count="0"/>
|
5395 |
-
<line num="281" type="stmt" count="0"/>
|
5396 |
-
<line num="282" type="stmt" count="0"/>
|
5397 |
<line num="284" type="stmt" count="0"/>
|
5398 |
-
<line num="286" type="stmt" count="0"/>
|
5399 |
<line num="287" type="stmt" count="0"/>
|
5400 |
<line num="288" type="stmt" count="0"/>
|
5401 |
-
<
|
5402 |
-
<line num="291" type="stmt" count="0"/>
|
5403 |
-
<line num="292" type="stmt" count="0"/>
|
5404 |
-
<line num="294" type="stmt" count="0"/>
|
5405 |
-
<line num="295" type="stmt" count="0"/>
|
5406 |
-
<line num="296" type="stmt" count="0"/>
|
5407 |
-
<line num="298" type="stmt" count="0"/>
|
5408 |
-
<line num="299" type="stmt" count="0"/>
|
5409 |
-
<line num="306" type="method" name="save_jobs" visibility="public" complexity="1" crap="2" count="0"/>
|
5410 |
-
<line num="307" type="stmt" count="0"/>
|
5411 |
-
<line num="308" type="stmt" count="0"/>
|
5412 |
-
<line num="315" type="method" name="set_jobs" visibility="public" complexity="2" crap="6" count="0"/>
|
5413 |
-
<line num="316" type="stmt" count="0"/>
|
5414 |
-
<line num="317" type="stmt" count="0"/>
|
5415 |
-
<line num="320" type="stmt" count="0"/>
|
5416 |
-
<line num="321" type="stmt" count="0"/>
|
5417 |
-
<metrics loc="322" ncloc="182" classes="1" methods="10" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="106" coveredstatements="2" elements="116" coveredelements="3"/>
|
5418 |
</file>
|
5419 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-log-page.php">
|
5420 |
<class name="Boldgrid_Backup_Admin_Log_Page" namespace="global" fullPackage="Boldgrid.Backup.Admin.Log">
|
@@ -13196,8 +13182,8 @@
|
|
13196 |
<line num="249" type="stmt" count="0"/>
|
13197 |
<line num="251" type="stmt" count="1"/>
|
13198 |
<line num="253" type="stmt" count="5"/>
|
13199 |
-
<line num="267" type="method" name="has_arg_flag" visibility="public" complexity="1" crap="1" count="
|
13200 |
-
<line num="268" type="stmt" count="
|
13201 |
<line num="282" type="method" name="get_arg_value" visibility="public" complexity="2" crap="2" count="3"/>
|
13202 |
<line num="283" type="stmt" count="3"/>
|
13203 |
<line num="284" type="stmt" count="3"/>
|
@@ -75163,7 +75149,7 @@
|
|
75163 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
75164 |
</file>
|
75165 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
75166 |
-
<class name="
|
75167 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
75168 |
</class>
|
75169 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
@@ -75255,7 +75241,7 @@
|
|
75255 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
75256 |
</file>
|
75257 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
75258 |
-
<class name="
|
75259 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
75260 |
</class>
|
75261 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
@@ -94474,6 +94460,6 @@
|
|
94474 |
<line num="16" type="stmt" count="0"/>
|
94475 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
94476 |
</file>
|
94477 |
-
<metrics files="944" loc="
|
94478 |
</project>
|
94479 |
</coverage>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<coverage generated="1594058134">
|
3 |
+
<project timestamp="1594058134">
|
4 |
<package name="Boldgrid\Backup\Admin\Card">
|
5 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-amazon-s3.php">
|
6 |
<class name="Amazon_S3" namespace="Boldgrid\Backup\Admin\Card" fullPackage="Amazon">
|
2065 |
<line num="284" type="stmt" count="6"/>
|
2066 |
<line num="287" type="stmt" count="6"/>
|
2067 |
<line num="288" type="stmt" count="6"/>
|
2068 |
+
<line num="289" type="stmt" count="5"/>
|
2069 |
<line num="292" type="stmt" count="6"/>
|
2070 |
<line num="294" type="stmt" count="6"/>
|
2071 |
<line num="295" type="stmt" count="6"/>
|
5296 |
</file>
|
5297 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-jobs.php">
|
5298 |
<class name="Boldgrid_Backup_Admin_Jobs" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
5299 |
+
<metrics complexity="28" methods="9" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="93" coveredstatements="2" elements="102" coveredelements="3"/>
|
5300 |
</class>
|
5301 |
+
<line num="68" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
5302 |
+
<line num="69" type="stmt" count="20"/>
|
5303 |
+
<line num="70" type="stmt" count="20"/>
|
5304 |
+
<line num="80" type="method" name="add" visibility="public" complexity="2" crap="6" count="0"/>
|
5305 |
+
<line num="81" type="stmt" count="0"/>
|
5306 |
+
<line num="82" type="stmt" count="0"/>
|
5307 |
+
<line num="85" type="stmt" count="0"/>
|
5308 |
+
<line num="87" type="stmt" count="0"/>
|
5309 |
+
<line num="88" type="stmt" count="0"/>
|
5310 |
+
<line num="89" type="stmt" count="0"/>
|
5311 |
+
<line num="90" type="stmt" count="0"/>
|
5312 |
+
<line num="102" type="method" name="delete_all_prior" visibility="public" complexity="4" crap="20" count="0"/>
|
5313 |
+
<line num="104" type="stmt" count="0"/>
|
5314 |
<line num="105" type="stmt" count="0"/>
|
5315 |
+
<line num="108" type="stmt" count="0"/>
|
5316 |
+
<line num="110" type="stmt" count="0"/>
|
5317 |
+
<line num="111" type="stmt" count="0"/>
|
5318 |
+
<line num="112" type="stmt" count="0"/>
|
5319 |
+
<line num="113" type="stmt" count="0"/>
|
5320 |
+
<line num="114" type="stmt" count="0"/>
|
5321 |
+
<line num="116" type="stmt" count="0"/>
|
5322 |
+
<line num="117" type="stmt" count="0"/>
|
5323 |
+
<line num="118" type="stmt" count="0"/>
|
5324 |
+
<line num="127" type="method" name="is_running" visibility="public" complexity="3" crap="12" count="0"/>
|
5325 |
<line num="128" type="stmt" count="0"/>
|
|
|
5326 |
<line num="130" type="stmt" count="0"/>
|
5327 |
+
<line num="131" type="stmt" count="0"/>
|
5328 |
<line num="132" type="stmt" count="0"/>
|
|
|
5329 |
<line num="134" type="stmt" count="0"/>
|
5330 |
+
<line num="136" type="stmt" count="0"/>
|
5331 |
+
<line num="150" type="method" name="post_archive_files" visibility="public" complexity="3" crap="12" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
5332 |
<line num="156" type="stmt" count="0"/>
|
5333 |
+
<line num="157" type="stmt" count="0"/>
|
|
|
5334 |
<line num="160" type="stmt" count="0"/>
|
5335 |
+
<line num="161" type="stmt" count="0"/>
|
5336 |
+
<line num="165" type="stmt" count="0"/>
|
5337 |
+
<line num="166" type="stmt" count="0"/>
|
5338 |
+
<line num="167" type="stmt" count="0"/>
|
5339 |
+
<line num="168" type="stmt" count="0"/>
|
5340 |
+
<line num="169" type="stmt" count="0"/>
|
5341 |
+
<line num="171" type="stmt" count="0"/>
|
5342 |
+
<line num="172" type="stmt" count="0"/>
|
5343 |
+
<line num="181" type="method" name="post_jobs_email" visibility="public" complexity="4" crap="20" count="0"/>
|
5344 |
+
<line num="182" type="stmt" count="0"/>
|
5345 |
<line num="184" type="stmt" count="0"/>
|
5346 |
+
<line num="186" type="stmt" count="0"/>
|
5347 |
<line num="188" type="stmt" count="0"/>
|
5348 |
+
<line num="190" type="stmt" count="0"/>
|
5349 |
+
<line num="192" type="stmt" count="0"/>
|
5350 |
<line num="194" type="stmt" count="0"/>
|
5351 |
<line num="195" type="stmt" count="0"/>
|
5352 |
<line num="196" type="stmt" count="0"/>
|
|
|
5353 |
<line num="199" type="stmt" count="0"/>
|
5354 |
<line num="200" type="stmt" count="0"/>
|
5355 |
+
<line num="201" type="stmt" count="0"/>
|
5356 |
+
<line num="202" type="stmt" count="0"/>
|
5357 |
+
<line num="203" type="stmt" count="0"/>
|
5358 |
+
<line num="204" type="stmt" count="0"/>
|
5359 |
+
<line num="205" type="stmt" count="0"/>
|
5360 |
+
<line num="206" type="stmt" count="0"/>
|
5361 |
+
<line num="207" type="stmt" count="0"/>
|
5362 |
+
<line num="208" type="stmt" count="0"/>
|
5363 |
+
<line num="209" type="stmt" count="0"/>
|
5364 |
+
<line num="211" type="stmt" count="0"/>
|
5365 |
<line num="212" type="stmt" count="0"/>
|
5366 |
<line num="214" type="stmt" count="0"/>
|
5367 |
+
<line num="215" type="stmt" count="0"/>
|
5368 |
+
<line num="217" type="stmt" count="0"/>
|
5369 |
+
<line num="219" type="stmt" count="0"/>
|
5370 |
<line num="220" type="stmt" count="0"/>
|
5371 |
+
<line num="221" type="stmt" count="0"/>
|
5372 |
<line num="223" type="stmt" count="0"/>
|
5373 |
+
<line num="225" type="stmt" count="0"/>
|
5374 |
+
<line num="236" type="method" name="run" visibility="public" complexity="8" crap="72" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5375 |
<line num="237" type="stmt" count="0"/>
|
|
|
5376 |
<line num="240" type="stmt" count="0"/>
|
5377 |
+
<line num="241" type="stmt" count="0"/>
|
5378 |
<line num="242" type="stmt" count="0"/>
|
5379 |
+
<line num="244" type="stmt" count="0"/>
|
5380 |
<line num="245" type="stmt" count="0"/>
|
5381 |
+
<line num="246" type="stmt" count="0"/>
|
|
|
5382 |
<line num="249" type="stmt" count="0"/>
|
5383 |
+
<line num="250" type="stmt" count="0"/>
|
5384 |
+
<line num="252" type="stmt" count="0"/>
|
5385 |
+
<line num="254" type="stmt" count="0"/>
|
5386 |
+
<line num="255" type="stmt" count="0"/>
|
5387 |
+
<line num="256" type="stmt" count="0"/>
|
5388 |
+
<line num="258" type="stmt" count="0"/>
|
5389 |
+
<line num="259" type="stmt" count="0"/>
|
5390 |
+
<line num="261" type="stmt" count="0"/>
|
5391 |
+
<line num="262" type="stmt" count="0"/>
|
5392 |
+
<line num="263" type="stmt" count="0"/>
|
5393 |
<line num="265" type="stmt" count="0"/>
|
5394 |
+
<line num="266" type="stmt" count="0"/>
|
5395 |
+
<line num="273" type="method" name="save_jobs" visibility="public" complexity="1" crap="2" count="0"/>
|
5396 |
+
<line num="274" type="stmt" count="0"/>
|
|
|
|
|
5397 |
<line num="275" type="stmt" count="0"/>
|
5398 |
+
<line num="282" type="method" name="set_jobs" visibility="public" complexity="2" crap="6" count="0"/>
|
5399 |
+
<line num="283" type="stmt" count="0"/>
|
|
|
|
|
|
|
5400 |
<line num="284" type="stmt" count="0"/>
|
|
|
5401 |
<line num="287" type="stmt" count="0"/>
|
5402 |
<line num="288" type="stmt" count="0"/>
|
5403 |
+
<metrics loc="289" ncloc="163" classes="1" methods="9" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="93" coveredstatements="2" elements="102" coveredelements="3"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5404 |
</file>
|
5405 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-log-page.php">
|
5406 |
<class name="Boldgrid_Backup_Admin_Log_Page" namespace="global" fullPackage="Boldgrid.Backup.Admin.Log">
|
13182 |
<line num="249" type="stmt" count="0"/>
|
13183 |
<line num="251" type="stmt" count="1"/>
|
13184 |
<line num="253" type="stmt" count="5"/>
|
13185 |
+
<line num="267" type="method" name="has_arg_flag" visibility="public" complexity="1" crap="1" count="2"/>
|
13186 |
+
<line num="268" type="stmt" count="2"/>
|
13187 |
<line num="282" type="method" name="get_arg_value" visibility="public" complexity="2" crap="2" count="3"/>
|
13188 |
<line num="283" type="stmt" count="3"/>
|
13189 |
<line num="284" type="stmt" count="3"/>
|
75149 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
75150 |
</file>
|
75151 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
75152 |
+
<class name="ComposerStaticInit003a36ea3ce708618a9d533403417f74" namespace="Composer\Autoload">
|
75153 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
75154 |
</class>
|
75155 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
75241 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
75242 |
</file>
|
75243 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
75244 |
+
<class name="ComposerAutoloaderInit003a36ea3ce708618a9d533403417f74" namespace="global">
|
75245 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
75246 |
</class>
|
75247 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
94460 |
<line num="16" type="stmt" count="0"/>
|
94461 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
94462 |
</file>
|
94463 |
+
<metrics files="944" loc="189393" ncloc="115444" classes="854" methods="3512" coveredmethods="274" conditionals="0" coveredconditionals="0" statements="85141" coveredstatements="3997" elements="88653" coveredelements="4271"/>
|
94464 |
</project>
|
94465 |
</coverage>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: backup, cloud backup, database backup, restore, wordpress backup
|
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.4
|
6 |
Requires PHP: 5.4
|
7 |
-
Stable tag: 1.13.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -132,6 +132,12 @@ Have a problem? First, take a look at our [Getting Started](https://www.boldgrid
|
|
132 |
|
133 |
== Changelog ==
|
134 |
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
= 1.13.11 =
|
136 |
|
137 |
Release date: July 1st, 2020
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.4
|
6 |
Requires PHP: 5.4
|
7 |
+
Stable tag: 1.13.12
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
132 |
|
133 |
== Changelog ==
|
134 |
|
135 |
+
= 1.13.12 =
|
136 |
+
|
137 |
+
Release date: July 6th, 2020
|
138 |
+
|
139 |
+
* Bug fix: Site check emails sent regardless of user preference.
|
140 |
+
|
141 |
= 1.13.11 =
|
142 |
|
143 |
Release date: July 1st, 2020
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit003a36ea3ce708618a9d533403417f74::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit269441f548865f9f4144e1f5038f061b
|
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
-
spl_autoload_register(array('
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
-
spl_autoload_unregister(array('
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
-
call_user_func(\Composer\Autoload\
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
@@ -51,19 +51,19 @@ class ComposerAutoloaderInit269441f548865f9f4144e1f5038f061b
|
|
51 |
$loader->register(true);
|
52 |
|
53 |
if ($useStaticLoader) {
|
54 |
-
$includeFiles = Composer\Autoload\
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
-
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
-
function
|
67 |
{
|
68 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
69 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit003a36ea3ce708618a9d533403417f74
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInit003a36ea3ce708618a9d533403417f74', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit003a36ea3ce708618a9d533403417f74', 'loadClassLoader'));
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit003a36ea3ce708618a9d533403417f74::getInitializer($loader));
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
51 |
$loader->register(true);
|
52 |
|
53 |
if ($useStaticLoader) {
|
54 |
+
$includeFiles = Composer\Autoload\ComposerStaticInit003a36ea3ce708618a9d533403417f74::$files;
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
+
composerRequire003a36ea3ce708618a9d533403417f74($fileIdentifier, $file);
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
+
function composerRequire003a36ea3ce708618a9d533403417f74($fileIdentifier, $file)
|
67 |
{
|
68 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
69 |
require $file;
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
|
@@ -91,9 +91,9 @@ class ComposerStaticInit269441f548865f9f4144e1f5038f061b
|
|
91 |
public static function getInitializer(ClassLoader $loader)
|
92 |
{
|
93 |
return \Closure::bind(function () use ($loader) {
|
94 |
-
$loader->prefixLengthsPsr4 =
|
95 |
-
$loader->prefixDirsPsr4 =
|
96 |
-
$loader->classMap =
|
97 |
|
98 |
}, null, ClassLoader::class);
|
99 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit003a36ea3ce708618a9d533403417f74
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
|
91 |
public static function getInitializer(ClassLoader $loader)
|
92 |
{
|
93 |
return \Closure::bind(function () use ($loader) {
|
94 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit003a36ea3ce708618a9d533403417f74::$prefixLengthsPsr4;
|
95 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit003a36ea3ce708618a9d533403417f74::$prefixDirsPsr4;
|
96 |
+
$loader->classMap = ComposerStaticInit003a36ea3ce708618a9d533403417f74::$classMap;
|
97 |
|
98 |
}, null, ClassLoader::class);
|
99 |
}
|