Version Description
Release date: February 6th, 2020
- Update: Added new "Premium Features" dashboard page.
- Update: Added support for system zip for generating backups.
- Update: Updated dependencies.
Download this release
Release Info
Developer | boldgrid |
Plugin | Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid |
Version | 1.13.0 |
Comparing to | |
See all releases |
Code changes from version 1.13.0-rc.1 to 1.13.0
- admin/class-boldgrid-backup-admin-compressor.php +3 -3
- admin/class-boldgrid-backup-admin-compressors.php +2 -2
- admin/class-boldgrid-backup-admin-in-progress-tmp.php +7 -7
- admin/class-boldgrid-backup-admin-in-progress.php +1 -1
- admin/class-boldgrid-backup-admin-test.php +1 -1
- admin/compressor/class-boldgrid-backup-admin-compressor-pcl-zip.php +1 -1
- admin/compressor/class-boldgrid-backup-admin-compressor-php-zip.php +1 -1
- admin/compressor/class-boldgrid-backup-admin-compressor-system-zip-temp-folder.php +8 -8
- admin/compressor/class-boldgrid-backup-admin-compressor-system-zip-test.php +15 -15
- admin/compressor/class-boldgrid-backup-admin-compressor-system-zip.php +11 -11
- boldgrid-backup.php +1 -1
- coverage.xml +30 -27
- readme.txt +1 -1
- vendor/autoload.php +1 -1
- vendor/boldgrid/library/src/Library/Ui/Dashboard.php +3 -1
- vendor/boldgrid/library/src/library.global.php +1 -0
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +4 -4
- vendor/composer/installed.json +3 -3
admin/class-boldgrid-backup-admin-compressor.php
CHANGED
@@ -78,7 +78,7 @@ class Boldgrid_Backup_Admin_Compressor {
|
|
78 |
/**
|
79 |
* Determine whether or not this compressor is available.
|
80 |
*
|
81 |
-
* @since
|
82 |
*
|
83 |
* @param string $compressor A compressor.
|
84 |
* @return bool True if is available.
|
@@ -90,7 +90,7 @@ class Boldgrid_Backup_Admin_Compressor {
|
|
90 |
/**
|
91 |
* Determine whether or not the given compressor is the default.
|
92 |
*
|
93 |
-
* @since
|
94 |
*
|
95 |
* @param string $compressor A compressor.
|
96 |
* @return bool True if is default compressor.
|
@@ -102,7 +102,7 @@ class Boldgrid_Backup_Admin_Compressor {
|
|
102 |
/**
|
103 |
* Determine whether or not the given compressor is the one saved in the settings.
|
104 |
*
|
105 |
-
* @since
|
106 |
*
|
107 |
* @param string $compressor A compressor.
|
108 |
* @return bool True if compressor is saved in settings.
|
78 |
/**
|
79 |
* Determine whether or not this compressor is available.
|
80 |
*
|
81 |
+
* @since 1.13.0
|
82 |
*
|
83 |
* @param string $compressor A compressor.
|
84 |
* @return bool True if is available.
|
90 |
/**
|
91 |
* Determine whether or not the given compressor is the default.
|
92 |
*
|
93 |
+
* @since 1.13.0
|
94 |
*
|
95 |
* @param string $compressor A compressor.
|
96 |
* @return bool True if is default compressor.
|
102 |
/**
|
103 |
* Determine whether or not the given compressor is the one saved in the settings.
|
104 |
*
|
105 |
+
* @since 1.13.0
|
106 |
*
|
107 |
* @param string $compressor A compressor.
|
108 |
* @return bool True if compressor is saved in settings.
|
admin/class-boldgrid-backup-admin-compressors.php
CHANGED
@@ -96,7 +96,7 @@ class Boldgrid_Backup_Admin_Compressors {
|
|
96 |
/**
|
97 |
* Get the default compressor.
|
98 |
*
|
99 |
-
* @since
|
100 |
*
|
101 |
* @return string
|
102 |
*/
|
@@ -107,7 +107,7 @@ class Boldgrid_Backup_Admin_Compressors {
|
|
107 |
/**
|
108 |
* Get our compressor object.
|
109 |
*
|
110 |
-
* @since
|
111 |
*
|
112 |
* @param string $compressor The id of a compressor to get.
|
113 |
* @return mixed
|
96 |
/**
|
97 |
* Get the default compressor.
|
98 |
*
|
99 |
+
* @since 1.13.0
|
100 |
*
|
101 |
* @return string
|
102 |
*/
|
107 |
/**
|
108 |
* Get our compressor object.
|
109 |
*
|
110 |
+
* @since 1.13.0
|
111 |
*
|
112 |
* @param string $compressor The id of a compressor to get.
|
113 |
* @return mixed
|
admin/class-boldgrid-backup-admin-in-progress-tmp.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* File: class-boldgrid-backup-admin-in-progress-tmp.php
|
4 |
*
|
5 |
* @link https://www.boldgrid.com
|
6 |
-
* @since
|
7 |
*
|
8 |
* @package Boldgrid_Backup
|
9 |
* @subpackage Boldgrid_Backup/admin
|
@@ -26,13 +26,13 @@
|
|
26 |
* system_zip: /backup_dir/system_zip_temp/zigWlkvV The "system_zip_temp" folder is optional and
|
27 |
* created by us.
|
28 |
*
|
29 |
-
* @since
|
30 |
*/
|
31 |
class Boldgrid_Backup_Admin_In_Progress_Tmp {
|
32 |
/**
|
33 |
* An instance of core.
|
34 |
*
|
35 |
-
* @since
|
36 |
* @access private
|
37 |
* @var Boldgrid_Backup_Admin_Core
|
38 |
*/
|
@@ -41,7 +41,7 @@ class Boldgrid_Backup_Admin_In_Progress_Tmp {
|
|
41 |
/**
|
42 |
* Constructor.
|
43 |
*
|
44 |
-
* @since
|
45 |
*
|
46 |
* @param Boldgrid_Backup_Admin_Core $core
|
47 |
*/
|
@@ -52,7 +52,7 @@ class Boldgrid_Backup_Admin_In_Progress_Tmp {
|
|
52 |
/**
|
53 |
* Get an array of data for the temporary .zip file.
|
54 |
*
|
55 |
-
* @since
|
56 |
*
|
57 |
* @return array
|
58 |
*/
|
@@ -79,7 +79,7 @@ class Boldgrid_Backup_Admin_In_Progress_Tmp {
|
|
79 |
/**
|
80 |
* Get temporary .zip file info for system_zip compressor.
|
81 |
*
|
82 |
-
* @since
|
83 |
*
|
84 |
* @return array
|
85 |
*/
|
@@ -105,7 +105,7 @@ class Boldgrid_Backup_Admin_In_Progress_Tmp {
|
|
105 |
/**
|
106 |
* Get data for pcl_zip.
|
107 |
*
|
108 |
-
* @since
|
109 |
*
|
110 |
* @return array
|
111 |
*/
|
3 |
* File: class-boldgrid-backup-admin-in-progress-tmp.php
|
4 |
*
|
5 |
* @link https://www.boldgrid.com
|
6 |
+
* @since 1.13.0
|
7 |
*
|
8 |
* @package Boldgrid_Backup
|
9 |
* @subpackage Boldgrid_Backup/admin
|
26 |
* system_zip: /backup_dir/system_zip_temp/zigWlkvV The "system_zip_temp" folder is optional and
|
27 |
* created by us.
|
28 |
*
|
29 |
+
* @since 1.13.0
|
30 |
*/
|
31 |
class Boldgrid_Backup_Admin_In_Progress_Tmp {
|
32 |
/**
|
33 |
* An instance of core.
|
34 |
*
|
35 |
+
* @since 1.13.0
|
36 |
* @access private
|
37 |
* @var Boldgrid_Backup_Admin_Core
|
38 |
*/
|
41 |
/**
|
42 |
* Constructor.
|
43 |
*
|
44 |
+
* @since 1.13.0
|
45 |
*
|
46 |
* @param Boldgrid_Backup_Admin_Core $core
|
47 |
*/
|
52 |
/**
|
53 |
* Get an array of data for the temporary .zip file.
|
54 |
*
|
55 |
+
* @since 1.13.0
|
56 |
*
|
57 |
* @return array
|
58 |
*/
|
79 |
/**
|
80 |
* Get temporary .zip file info for system_zip compressor.
|
81 |
*
|
82 |
+
* @since 1.13.0
|
83 |
*
|
84 |
* @return array
|
85 |
*/
|
105 |
/**
|
106 |
* Get data for pcl_zip.
|
107 |
*
|
108 |
+
* @since 1.13.0
|
109 |
*
|
110 |
* @return array
|
111 |
*/
|
admin/class-boldgrid-backup-admin-in-progress.php
CHANGED
@@ -29,7 +29,7 @@ class Boldgrid_Backup_Admin_In_Progress {
|
|
29 |
/**
|
30 |
* Our tmp class.
|
31 |
*
|
32 |
-
* @since
|
33 |
* @access private
|
34 |
* @var Boldgrid_Backup_Admin_In_Progress_Tmp
|
35 |
*/
|
29 |
/**
|
30 |
* Our tmp class.
|
31 |
*
|
32 |
+
* @since 1.13.0
|
33 |
* @access private
|
34 |
* @var Boldgrid_Backup_Admin_In_Progress_Tmp
|
35 |
*/
|
admin/class-boldgrid-backup-admin-test.php
CHANGED
@@ -514,7 +514,7 @@ class Boldgrid_Backup_Admin_Test {
|
|
514 |
/**
|
515 |
* Determine whether or not system_zip is suppored.
|
516 |
*
|
517 |
-
* @since
|
518 |
*
|
519 |
* @return bool
|
520 |
*/
|
514 |
/**
|
515 |
* Determine whether or not system_zip is suppored.
|
516 |
*
|
517 |
+
* @since 1.13.0
|
518 |
*
|
519 |
* @return bool
|
520 |
*/
|
admin/compressor/class-boldgrid-backup-admin-compressor-pcl-zip.php
CHANGED
@@ -50,7 +50,7 @@ class Boldgrid_Backup_Admin_Compressor_Pcl_Zip extends Boldgrid_Backup_Admin_Com
|
|
50 |
/**
|
51 |
* Key.
|
52 |
*
|
53 |
-
* @since
|
54 |
* @access proteced
|
55 |
* @var string
|
56 |
*/
|
50 |
/**
|
51 |
* Key.
|
52 |
*
|
53 |
+
* @since 1.13.0
|
54 |
* @access proteced
|
55 |
* @var string
|
56 |
*/
|
admin/compressor/class-boldgrid-backup-admin-compressor-php-zip.php
CHANGED
@@ -58,7 +58,7 @@ class Boldgrid_Backup_Admin_Compressor_Php_Zip extends Boldgrid_Backup_Admin_Com
|
|
58 |
/**
|
59 |
* Key.
|
60 |
*
|
61 |
-
* @since
|
62 |
* @access protected
|
63 |
* @var string
|
64 |
*/
|
58 |
/**
|
59 |
* Key.
|
60 |
*
|
61 |
+
* @since 1.13.0
|
62 |
* @access protected
|
63 |
* @var string
|
64 |
*/
|
admin/compressor/class-boldgrid-backup-admin-compressor-system-zip-temp-folder.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* File: class-boldgrid-backup-admin-compressor-system-zip-temp-folder.php
|
4 |
*
|
5 |
* @link https://www.boldgrid.com
|
6 |
-
* @since
|
7 |
*
|
8 |
* @package Boldgrid_Backup
|
9 |
* @subpackage Boldgrid_Backup/admin/compressor
|
@@ -15,13 +15,13 @@
|
|
15 |
/**
|
16 |
* Class: Boldgrid_Backup_Admin_Compressor_System_Zip_Temp_Folder
|
17 |
*
|
18 |
-
* @since
|
19 |
*/
|
20 |
class Boldgrid_Backup_Admin_Compressor_System_Zip_Temp_Folder {
|
21 |
/**
|
22 |
* An instance of core.
|
23 |
*
|
24 |
-
* @since
|
25 |
* @access private
|
26 |
* @var Boldgrid_Backup_Admin_Core
|
27 |
*/
|
@@ -30,7 +30,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip_Temp_Folder {
|
|
30 |
/**
|
31 |
* The name of the temporary folder where the compression will take place.
|
32 |
*
|
33 |
-
* @since
|
34 |
* @access private
|
35 |
* @var string
|
36 |
*/
|
@@ -39,7 +39,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip_Temp_Folder {
|
|
39 |
/**
|
40 |
* Constructor.
|
41 |
*
|
42 |
-
* @since
|
43 |
*/
|
44 |
public function __construct() {
|
45 |
$this->core = apply_filters( 'boldgrid_backup_get_core', null );
|
@@ -48,7 +48,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip_Temp_Folder {
|
|
48 |
/**
|
49 |
* Create the temp folder.
|
50 |
*
|
51 |
-
* @since
|
52 |
*
|
53 |
* @return bool True on success.
|
54 |
*/
|
@@ -59,7 +59,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip_Temp_Folder {
|
|
59 |
/**
|
60 |
* Delete the temp folder.
|
61 |
*
|
62 |
-
* @since
|
63 |
*
|
64 |
* @return bool True on success.
|
65 |
*/
|
@@ -70,7 +70,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip_Temp_Folder {
|
|
70 |
/**
|
71 |
* Get the path to our temp folder.
|
72 |
*
|
73 |
-
* @since
|
74 |
*
|
75 |
* @return string
|
76 |
*/
|
3 |
* File: class-boldgrid-backup-admin-compressor-system-zip-temp-folder.php
|
4 |
*
|
5 |
* @link https://www.boldgrid.com
|
6 |
+
* @since 1.13.0
|
7 |
*
|
8 |
* @package Boldgrid_Backup
|
9 |
* @subpackage Boldgrid_Backup/admin/compressor
|
15 |
/**
|
16 |
* Class: Boldgrid_Backup_Admin_Compressor_System_Zip_Temp_Folder
|
17 |
*
|
18 |
+
* @since 1.13.0
|
19 |
*/
|
20 |
class Boldgrid_Backup_Admin_Compressor_System_Zip_Temp_Folder {
|
21 |
/**
|
22 |
* An instance of core.
|
23 |
*
|
24 |
+
* @since 1.13.0
|
25 |
* @access private
|
26 |
* @var Boldgrid_Backup_Admin_Core
|
27 |
*/
|
30 |
/**
|
31 |
* The name of the temporary folder where the compression will take place.
|
32 |
*
|
33 |
+
* @since 1.13.0
|
34 |
* @access private
|
35 |
* @var string
|
36 |
*/
|
39 |
/**
|
40 |
* Constructor.
|
41 |
*
|
42 |
+
* @since 1.13.0
|
43 |
*/
|
44 |
public function __construct() {
|
45 |
$this->core = apply_filters( 'boldgrid_backup_get_core', null );
|
48 |
/**
|
49 |
* Create the temp folder.
|
50 |
*
|
51 |
+
* @since 1.13.0
|
52 |
*
|
53 |
* @return bool True on success.
|
54 |
*/
|
59 |
/**
|
60 |
* Delete the temp folder.
|
61 |
*
|
62 |
+
* @since 1.13.0
|
63 |
*
|
64 |
* @return bool True on success.
|
65 |
*/
|
70 |
/**
|
71 |
* Get the path to our temp folder.
|
72 |
*
|
73 |
+
* @since 1.13.0
|
74 |
*
|
75 |
* @return string
|
76 |
*/
|
admin/compressor/class-boldgrid-backup-admin-compressor-system-zip-test.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* System Zip Compressor Tester.
|
6 |
*
|
7 |
* @link https://www.boldgrid.com
|
8 |
-
* @since
|
9 |
*
|
10 |
* @package Boldgrid_Backup
|
11 |
* @subpackage Boldgrid_Backup/admin/compressor
|
@@ -17,13 +17,13 @@
|
|
17 |
/**
|
18 |
* Class: Boldgrid_Backup_Admin_Compressor_System_Zip_Test
|
19 |
*
|
20 |
-
* @since
|
21 |
*/
|
22 |
class Boldgrid_Backup_Admin_Compressor_System_Zip_Test {
|
23 |
/**
|
24 |
* An instance of core.
|
25 |
*
|
26 |
-
* @since
|
27 |
* @access private
|
28 |
* @var Boldgrid_Backup_Admin_Core
|
29 |
*/
|
@@ -32,7 +32,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip_Test {
|
|
32 |
/**
|
33 |
* An error message.
|
34 |
*
|
35 |
-
* @since
|
36 |
* @access private
|
37 |
* @var string
|
38 |
*/
|
@@ -41,7 +41,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip_Test {
|
|
41 |
/**
|
42 |
* An array of files that will make up the self::filelist_filepath file.
|
43 |
*
|
44 |
-
* @since
|
45 |
* @access private
|
46 |
* @var array
|
47 |
*/
|
@@ -50,7 +50,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip_Test {
|
|
50 |
/**
|
51 |
* A filepath to the file containing a list of files we will zip.
|
52 |
*
|
53 |
-
* @since
|
54 |
* @access private
|
55 |
* @var array
|
56 |
*/
|
@@ -59,7 +59,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip_Test {
|
|
59 |
/**
|
60 |
* An array of files and folders that we will create.
|
61 |
*
|
62 |
-
* @since
|
63 |
* @access private
|
64 |
* @var array
|
65 |
*/
|
@@ -68,7 +68,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip_Test {
|
|
68 |
/**
|
69 |
* A path to a directory we will be creating, filling with files, and zipping.
|
70 |
*
|
71 |
-
* @since
|
72 |
* @access private
|
73 |
* @var string
|
74 |
*/
|
@@ -77,7 +77,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip_Test {
|
|
77 |
/**
|
78 |
* A filepath to the zip we will be creating.
|
79 |
*
|
80 |
-
* @since
|
81 |
* @access private
|
82 |
* @var string
|
83 |
*/
|
@@ -86,7 +86,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip_Test {
|
|
86 |
/**
|
87 |
* Constructor.
|
88 |
*
|
89 |
-
* @since
|
90 |
*
|
91 |
* @param Boldgrid_Backup_Admin_Core $core
|
92 |
*/
|
@@ -128,7 +128,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip_Test {
|
|
128 |
/**
|
129 |
* Get our error message.
|
130 |
*
|
131 |
-
* @since
|
132 |
*
|
133 |
* @return string
|
134 |
*/
|
@@ -141,7 +141,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip_Test {
|
|
141 |
*
|
142 |
* We will be zipping up this directory.
|
143 |
*
|
144 |
-
* @since
|
145 |
*
|
146 |
* @return bool True on success.
|
147 |
*/
|
@@ -198,7 +198,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip_Test {
|
|
198 |
/**
|
199 |
* Restore our test directory from zip and make sure everything was restored.
|
200 |
*
|
201 |
-
* @since
|
202 |
*
|
203 |
* @return bool True on success.
|
204 |
*/
|
@@ -238,7 +238,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip_Test {
|
|
238 |
/**
|
239 |
* Zip up our test directory.
|
240 |
*
|
241 |
-
* @since
|
242 |
*
|
243 |
* @return bool True on success.
|
244 |
*/
|
@@ -258,7 +258,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip_Test {
|
|
258 |
*
|
259 |
* On average, this takes 0.019 seconds to complete.
|
260 |
*
|
261 |
-
* @since
|
262 |
*
|
263 |
* @param bool $force Whether to run this test or get results from transient.
|
264 |
* @return bool True on success.
|
5 |
* System Zip Compressor Tester.
|
6 |
*
|
7 |
* @link https://www.boldgrid.com
|
8 |
+
* @since 1.13.0
|
9 |
*
|
10 |
* @package Boldgrid_Backup
|
11 |
* @subpackage Boldgrid_Backup/admin/compressor
|
17 |
/**
|
18 |
* Class: Boldgrid_Backup_Admin_Compressor_System_Zip_Test
|
19 |
*
|
20 |
+
* @since 1.13.0
|
21 |
*/
|
22 |
class Boldgrid_Backup_Admin_Compressor_System_Zip_Test {
|
23 |
/**
|
24 |
* An instance of core.
|
25 |
*
|
26 |
+
* @since 1.13.0
|
27 |
* @access private
|
28 |
* @var Boldgrid_Backup_Admin_Core
|
29 |
*/
|
32 |
/**
|
33 |
* An error message.
|
34 |
*
|
35 |
+
* @since 1.13.0
|
36 |
* @access private
|
37 |
* @var string
|
38 |
*/
|
41 |
/**
|
42 |
* An array of files that will make up the self::filelist_filepath file.
|
43 |
*
|
44 |
+
* @since 1.13.0
|
45 |
* @access private
|
46 |
* @var array
|
47 |
*/
|
50 |
/**
|
51 |
* A filepath to the file containing a list of files we will zip.
|
52 |
*
|
53 |
+
* @since 1.13.0
|
54 |
* @access private
|
55 |
* @var array
|
56 |
*/
|
59 |
/**
|
60 |
* An array of files and folders that we will create.
|
61 |
*
|
62 |
+
* @since 1.13.0
|
63 |
* @access private
|
64 |
* @var array
|
65 |
*/
|
68 |
/**
|
69 |
* A path to a directory we will be creating, filling with files, and zipping.
|
70 |
*
|
71 |
+
* @since 1.13.0
|
72 |
* @access private
|
73 |
* @var string
|
74 |
*/
|
77 |
/**
|
78 |
* A filepath to the zip we will be creating.
|
79 |
*
|
80 |
+
* @since 1.13.0
|
81 |
* @access private
|
82 |
* @var string
|
83 |
*/
|
86 |
/**
|
87 |
* Constructor.
|
88 |
*
|
89 |
+
* @since 1.13.0
|
90 |
*
|
91 |
* @param Boldgrid_Backup_Admin_Core $core
|
92 |
*/
|
128 |
/**
|
129 |
* Get our error message.
|
130 |
*
|
131 |
+
* @since 1.13.0
|
132 |
*
|
133 |
* @return string
|
134 |
*/
|
141 |
*
|
142 |
* We will be zipping up this directory.
|
143 |
*
|
144 |
+
* @since 1.13.0
|
145 |
*
|
146 |
* @return bool True on success.
|
147 |
*/
|
198 |
/**
|
199 |
* Restore our test directory from zip and make sure everything was restored.
|
200 |
*
|
201 |
+
* @since 1.13.0
|
202 |
*
|
203 |
* @return bool True on success.
|
204 |
*/
|
238 |
/**
|
239 |
* Zip up our test directory.
|
240 |
*
|
241 |
+
* @since 1.13.0
|
242 |
*
|
243 |
* @return bool True on success.
|
244 |
*/
|
258 |
*
|
259 |
* On average, this takes 0.019 seconds to complete.
|
260 |
*
|
261 |
+
* @since 1.13.0
|
262 |
*
|
263 |
* @param bool $force Whether to run this test or get results from transient.
|
264 |
* @return bool True on success.
|
admin/compressor/class-boldgrid-backup-admin-compressor-system-zip.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* System Zip Compressor.
|
6 |
*
|
7 |
* @link https://www.boldgrid.com
|
8 |
-
* @since
|
9 |
*
|
10 |
* @package Boldgrid_Backup
|
11 |
* @subpackage Boldgrid_Backup/admin/compressor
|
@@ -17,13 +17,13 @@
|
|
17 |
/**
|
18 |
* Class: Boldgrid_Backup_Admin_Compressor_System_Zip
|
19 |
*
|
20 |
-
* @since
|
21 |
*/
|
22 |
class Boldgrid_Backup_Admin_Compressor_System_Zip extends Boldgrid_Backup_Admin_Compressor {
|
23 |
/**
|
24 |
* An array of files that should be archived.
|
25 |
*
|
26 |
-
* @since
|
27 |
* @access private
|
28 |
* @var array {
|
29 |
* An array of files.
|
@@ -39,7 +39,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip extends Boldgrid_Backup_Admin_
|
|
39 |
/**
|
40 |
* The filepath to our text file holding list of files to archive.
|
41 |
*
|
42 |
-
* @since
|
43 |
* @access private
|
44 |
* @var string
|
45 |
*/
|
@@ -48,7 +48,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip extends Boldgrid_Backup_Admin_
|
|
48 |
/**
|
49 |
* The filepath to the zip file.
|
50 |
*
|
51 |
-
* @since
|
52 |
* @access PRIVATE
|
53 |
* @var string
|
54 |
*/
|
@@ -57,7 +57,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip extends Boldgrid_Backup_Admin_
|
|
57 |
/**
|
58 |
* The temporary folder used when saving a zip file.
|
59 |
*
|
60 |
-
* @since
|
61 |
* @access private
|
62 |
* @var Boldgrid_Backup_Admin_Compressor_System_Zip_Temp_Folder
|
63 |
*/
|
@@ -66,7 +66,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip extends Boldgrid_Backup_Admin_
|
|
66 |
/**
|
67 |
* Key.
|
68 |
*
|
69 |
-
* @since
|
70 |
* @access protected
|
71 |
* @var string
|
72 |
*/
|
@@ -75,7 +75,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip extends Boldgrid_Backup_Admin_
|
|
75 |
/**
|
76 |
* Constructor.
|
77 |
*
|
78 |
-
* @since
|
79 |
*/
|
80 |
public function __construct() {
|
81 |
$core = apply_filters( 'boldgrid_backup_get_core', null );
|
@@ -142,7 +142,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip extends Boldgrid_Backup_Admin_
|
|
142 |
/**
|
143 |
* Create the file containing a list of files to backup.
|
144 |
*
|
145 |
-
* @since
|
146 |
*/
|
147 |
private function filelist_create() {
|
148 |
$this->core->logger->add( 'Starting to create list of files to include in zip.' );
|
@@ -190,7 +190,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip extends Boldgrid_Backup_Admin_
|
|
190 |
/**
|
191 |
* Run the command to actually zip the files.
|
192 |
*
|
193 |
-
* @since
|
194 |
*/
|
195 |
private function zip() {
|
196 |
$this->core->logger->add( 'Starting to close the zip file.' );
|
@@ -209,7 +209,7 @@ class Boldgrid_Backup_Admin_Compressor_System_Zip extends Boldgrid_Backup_Admin_
|
|
209 |
/**
|
210 |
* Add the .sql file individually.
|
211 |
*
|
212 |
-
* @since
|
213 |
*
|
214 |
* @see self::filelist_create
|
215 |
*/
|
5 |
* System Zip Compressor.
|
6 |
*
|
7 |
* @link https://www.boldgrid.com
|
8 |
+
* @since 1.13.0
|
9 |
*
|
10 |
* @package Boldgrid_Backup
|
11 |
* @subpackage Boldgrid_Backup/admin/compressor
|
17 |
/**
|
18 |
* Class: Boldgrid_Backup_Admin_Compressor_System_Zip
|
19 |
*
|
20 |
+
* @since 1.13.0
|
21 |
*/
|
22 |
class Boldgrid_Backup_Admin_Compressor_System_Zip extends Boldgrid_Backup_Admin_Compressor {
|
23 |
/**
|
24 |
* An array of files that should be archived.
|
25 |
*
|
26 |
+
* @since 1.13.0
|
27 |
* @access private
|
28 |
* @var array {
|
29 |
* An array of files.
|
39 |
/**
|
40 |
* The filepath to our text file holding list of files to archive.
|
41 |
*
|
42 |
+
* @since 1.13.0
|
43 |
* @access private
|
44 |
* @var string
|
45 |
*/
|
48 |
/**
|
49 |
* The filepath to the zip file.
|
50 |
*
|
51 |
+
* @since 1.13.0
|
52 |
* @access PRIVATE
|
53 |
* @var string
|
54 |
*/
|
57 |
/**
|
58 |
* The temporary folder used when saving a zip file.
|
59 |
*
|
60 |
+
* @since 1.13.0
|
61 |
* @access private
|
62 |
* @var Boldgrid_Backup_Admin_Compressor_System_Zip_Temp_Folder
|
63 |
*/
|
66 |
/**
|
67 |
* Key.
|
68 |
*
|
69 |
+
* @since 1.13.0
|
70 |
* @access protected
|
71 |
* @var string
|
72 |
*/
|
75 |
/**
|
76 |
* Constructor.
|
77 |
*
|
78 |
+
* @since 1.13.0
|
79 |
*/
|
80 |
public function __construct() {
|
81 |
$core = apply_filters( 'boldgrid_backup_get_core', null );
|
142 |
/**
|
143 |
* Create the file containing a list of files to backup.
|
144 |
*
|
145 |
+
* @since 1.13.0
|
146 |
*/
|
147 |
private function filelist_create() {
|
148 |
$this->core->logger->add( 'Starting to create list of files to include in zip.' );
|
190 |
/**
|
191 |
* Run the command to actually zip the files.
|
192 |
*
|
193 |
+
* @since 1.13.0
|
194 |
*/
|
195 |
private function zip() {
|
196 |
$this->core->logger->add( 'Starting to close the zip file.' );
|
209 |
/**
|
210 |
* Add the .sql file individually.
|
211 |
*
|
212 |
+
* @since 1.13.0
|
213 |
*
|
214 |
* @see self::filelist_create
|
215 |
*/
|
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.0
|
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.0
|
20 |
* Author: BoldGrid
|
21 |
* Author URI: https://www.boldgrid.com/
|
22 |
* License: GPL-2.0+
|
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">
|
@@ -1868,7 +1868,7 @@
|
|
1868 |
<line num="269" type="stmt" count="6"/>
|
1869 |
<line num="272" type="stmt" count="6"/>
|
1870 |
<line num="273" type="stmt" count="6"/>
|
1871 |
-
<line num="274" type="stmt" count="
|
1872 |
<line num="277" type="stmt" count="6"/>
|
1873 |
<line num="279" type="stmt" count="6"/>
|
1874 |
<line num="280" type="stmt" count="6"/>
|
@@ -2016,7 +2016,7 @@
|
|
2016 |
<line num="145" type="stmt" count="5"/>
|
2017 |
<line num="146" type="stmt" count="5"/>
|
2018 |
<line num="148" type="stmt" count="5"/>
|
2019 |
-
<line num="152" type="stmt" count="
|
2020 |
<line num="154" type="stmt" count="0"/>
|
2021 |
<line num="157" type="stmt" count="0"/>
|
2022 |
<line num="172" type="stmt" count="0"/>
|
@@ -70489,20 +70489,22 @@
|
|
70489 |
</file>
|
70490 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Ui/Dashboard.php">
|
70491 |
<class name="Dashboard" namespace="Boldgrid\Library\Library\Ui">
|
70492 |
-
<metrics complexity="4" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="
|
70493 |
</class>
|
70494 |
<line num="42" type="method" name="enqueueScripts" visibility="public" complexity="1" crap="2" count="0"/>
|
70495 |
<line num="43" type="stmt" count="0"/>
|
70496 |
<line num="44" type="stmt" count="0"/>
|
|
|
70497 |
<line num="46" type="stmt" count="0"/>
|
70498 |
-
<line num="
|
70499 |
-
<line num="55" type="
|
70500 |
<line num="57" type="stmt" count="1"/>
|
70501 |
-
<line num="58" type="stmt" count="1"/>
|
70502 |
<line num="59" type="stmt" count="1"/>
|
70503 |
-
<line num="
|
70504 |
-
<line num="
|
70505 |
-
<
|
|
|
|
|
70506 |
</file>
|
70507 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Ui/Feature.php">
|
70508 |
<class name="Feature" namespace="Boldgrid\Library\Library\Ui">
|
@@ -71628,14 +71630,14 @@
|
|
71628 |
<line num="11" type="stmt" count="0"/>
|
71629 |
<line num="12" type="stmt" count="0"/>
|
71630 |
<line num="13" type="stmt" count="0"/>
|
71631 |
-
<line num="
|
71632 |
-
<line num="
|
71633 |
-
<line num="
|
71634 |
-
<line num="
|
71635 |
-
<line num="
|
71636 |
-
<line num="
|
71637 |
-
<line num="
|
71638 |
-
<line num="
|
71639 |
<line num="38" type="stmt" count="0"/>
|
71640 |
<line num="39" type="stmt" count="0"/>
|
71641 |
<line num="40" type="stmt" count="0"/>
|
@@ -71647,7 +71649,7 @@
|
|
71647 |
<line num="46" type="stmt" count="0"/>
|
71648 |
<line num="47" type="stmt" count="0"/>
|
71649 |
<line num="48" type="stmt" count="0"/>
|
71650 |
-
<line num="
|
71651 |
<line num="52" type="stmt" count="0"/>
|
71652 |
<line num="53" type="stmt" count="0"/>
|
71653 |
<line num="54" type="stmt" count="0"/>
|
@@ -71681,7 +71683,7 @@
|
|
71681 |
<line num="82" type="stmt" count="0"/>
|
71682 |
<line num="83" type="stmt" count="0"/>
|
71683 |
<line num="84" type="stmt" count="0"/>
|
71684 |
-
<line num="
|
71685 |
<line num="100" type="stmt" count="0"/>
|
71686 |
<line num="101" type="stmt" count="0"/>
|
71687 |
<line num="102" type="stmt" count="0"/>
|
@@ -71705,7 +71707,7 @@
|
|
71705 |
<line num="120" type="stmt" count="0"/>
|
71706 |
<line num="121" type="stmt" count="0"/>
|
71707 |
<line num="122" type="stmt" count="0"/>
|
71708 |
-
<line num="
|
71709 |
<line num="126" type="stmt" count="0"/>
|
71710 |
<line num="127" type="stmt" count="0"/>
|
71711 |
<line num="128" type="stmt" count="0"/>
|
@@ -71719,9 +71721,10 @@
|
|
71719 |
<line num="136" type="stmt" count="0"/>
|
71720 |
<line num="137" type="stmt" count="0"/>
|
71721 |
<line num="138" type="stmt" count="0"/>
|
71722 |
-
<line num="
|
71723 |
<line num="143" type="stmt" count="0"/>
|
71724 |
-
<
|
|
|
71725 |
</file>
|
71726 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Library/test-activity.php">
|
71727 |
<class name="Test_Activty" namespace="global" fullPackage="Test">
|
@@ -73392,7 +73395,7 @@
|
|
73392 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
73393 |
</file>
|
73394 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
73395 |
-
<class name="
|
73396 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
73397 |
</class>
|
73398 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
@@ -73483,7 +73486,7 @@
|
|
73483 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
73484 |
</file>
|
73485 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
73486 |
-
<class name="
|
73487 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
73488 |
</class>
|
73489 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
@@ -91949,6 +91952,6 @@
|
|
91949 |
<line num="16" type="stmt" count="0"/>
|
91950 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
91951 |
</file>
|
91952 |
-
<metrics files="938" loc="
|
91953 |
</project>
|
91954 |
</coverage>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<coverage generated="1581022624">
|
3 |
+
<project timestamp="1581022624">
|
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">
|
1868 |
<line num="269" type="stmt" count="6"/>
|
1869 |
<line num="272" type="stmt" count="6"/>
|
1870 |
<line num="273" type="stmt" count="6"/>
|
1871 |
+
<line num="274" type="stmt" count="6"/>
|
1872 |
<line num="277" type="stmt" count="6"/>
|
1873 |
<line num="279" type="stmt" count="6"/>
|
1874 |
<line num="280" type="stmt" count="6"/>
|
2016 |
<line num="145" type="stmt" count="5"/>
|
2017 |
<line num="146" type="stmt" count="5"/>
|
2018 |
<line num="148" type="stmt" count="5"/>
|
2019 |
+
<line num="152" type="stmt" count="1"/>
|
2020 |
<line num="154" type="stmt" count="0"/>
|
2021 |
<line num="157" type="stmt" count="0"/>
|
2022 |
<line num="172" type="stmt" count="0"/>
|
70489 |
</file>
|
70490 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Ui/Dashboard.php">
|
70491 |
<class name="Dashboard" namespace="Boldgrid\Library\Library\Ui">
|
70492 |
+
<metrics complexity="4" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="6" elements="13" coveredelements="7"/>
|
70493 |
</class>
|
70494 |
<line num="42" type="method" name="enqueueScripts" visibility="public" complexity="1" crap="2" count="0"/>
|
70495 |
<line num="43" type="stmt" count="0"/>
|
70496 |
<line num="44" type="stmt" count="0"/>
|
70497 |
+
<line num="45" type="stmt" count="0"/>
|
70498 |
<line num="46" type="stmt" count="0"/>
|
70499 |
+
<line num="48" type="stmt" count="0"/>
|
70500 |
+
<line num="55" type="method" name="printCards" visibility="public" complexity="3" crap="3" count="1"/>
|
70501 |
<line num="57" type="stmt" count="1"/>
|
|
|
70502 |
<line num="59" type="stmt" count="1"/>
|
70503 |
+
<line num="60" type="stmt" count="1"/>
|
70504 |
+
<line num="61" type="stmt" count="1"/>
|
70505 |
+
<line num="64" type="stmt" count="1"/>
|
70506 |
+
<line num="65" type="stmt" count="1"/>
|
70507 |
+
<metrics loc="66" ncloc="31" classes="1" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="6" elements="13" coveredelements="7"/>
|
70508 |
</file>
|
70509 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Ui/Feature.php">
|
70510 |
<class name="Feature" namespace="Boldgrid\Library\Library\Ui">
|
71630 |
<line num="11" type="stmt" count="0"/>
|
71631 |
<line num="12" type="stmt" count="0"/>
|
71632 |
<line num="13" type="stmt" count="0"/>
|
71633 |
+
<line num="14" type="stmt" count="0"/>
|
71634 |
+
<line num="17" type="stmt" count="0"/>
|
71635 |
+
<line num="20" type="stmt" count="0"/>
|
71636 |
+
<line num="23" type="stmt" count="0"/>
|
71637 |
+
<line num="26" type="stmt" count="0"/>
|
71638 |
+
<line num="29" type="stmt" count="0"/>
|
71639 |
+
<line num="32" type="stmt" count="0"/>
|
71640 |
+
<line num="35" type="stmt" count="0"/>
|
71641 |
<line num="38" type="stmt" count="0"/>
|
71642 |
<line num="39" type="stmt" count="0"/>
|
71643 |
<line num="40" type="stmt" count="0"/>
|
71649 |
<line num="46" type="stmt" count="0"/>
|
71650 |
<line num="47" type="stmt" count="0"/>
|
71651 |
<line num="48" type="stmt" count="0"/>
|
71652 |
+
<line num="49" type="stmt" count="0"/>
|
71653 |
<line num="52" type="stmt" count="0"/>
|
71654 |
<line num="53" type="stmt" count="0"/>
|
71655 |
<line num="54" type="stmt" count="0"/>
|
71683 |
<line num="82" type="stmt" count="0"/>
|
71684 |
<line num="83" type="stmt" count="0"/>
|
71685 |
<line num="84" type="stmt" count="0"/>
|
71686 |
+
<line num="85" type="stmt" count="0"/>
|
71687 |
<line num="100" type="stmt" count="0"/>
|
71688 |
<line num="101" type="stmt" count="0"/>
|
71689 |
<line num="102" type="stmt" count="0"/>
|
71707 |
<line num="120" type="stmt" count="0"/>
|
71708 |
<line num="121" type="stmt" count="0"/>
|
71709 |
<line num="122" type="stmt" count="0"/>
|
71710 |
+
<line num="123" type="stmt" count="0"/>
|
71711 |
<line num="126" type="stmt" count="0"/>
|
71712 |
<line num="127" type="stmt" count="0"/>
|
71713 |
<line num="128" type="stmt" count="0"/>
|
71721 |
<line num="136" type="stmt" count="0"/>
|
71722 |
<line num="137" type="stmt" count="0"/>
|
71723 |
<line num="138" type="stmt" count="0"/>
|
71724 |
+
<line num="139" type="stmt" count="0"/>
|
71725 |
<line num="143" type="stmt" count="0"/>
|
71726 |
+
<line num="144" type="stmt" count="0"/>
|
71727 |
+
<metrics loc="144" ncloc="106" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="101" coveredstatements="0" elements="101" coveredelements="0"/>
|
71728 |
</file>
|
71729 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Library/test-activity.php">
|
71730 |
<class name="Test_Activty" namespace="global" fullPackage="Test">
|
73395 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
73396 |
</file>
|
73397 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
73398 |
+
<class name="ComposerStaticInit5f6b4e9fc42261e2abf798acbe89d1c6" namespace="Composer\Autoload">
|
73399 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
73400 |
</class>
|
73401 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
73486 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
73487 |
</file>
|
73488 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
73489 |
+
<class name="ComposerAutoloaderInit5f6b4e9fc42261e2abf798acbe89d1c6" namespace="global">
|
73490 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
73491 |
</class>
|
73492 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
91952 |
<line num="16" type="stmt" count="0"/>
|
91953 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
91954 |
</file>
|
91955 |
+
<metrics files="938" loc="188320" ncloc="114910" classes="848" methods="3495" coveredmethods="266" conditionals="0" coveredconditionals="0" statements="82688" coveredstatements="3362" elements="86183" coveredelements="3628"/>
|
91956 |
</project>
|
91957 |
</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.3
|
6 |
Requires PHP: 5.4
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.3
|
6 |
Requires PHP: 5.4
|
7 |
+
Stable tag: 1.13.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
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 ComposerAutoloaderInit5f6b4e9fc42261e2abf798acbe89d1c6::getLoader();
|
vendor/boldgrid/library/src/Library/Ui/Dashboard.php
CHANGED
@@ -41,7 +41,9 @@ class Dashboard {
|
|
41 |
*/
|
42 |
public static function enqueueScripts() {
|
43 |
wp_enqueue_style( 'bglib-dashboard',
|
44 |
-
Configs::get( 'libraryUrl' ) . 'src/assets/css/dashboard.css'
|
|
|
|
|
45 |
);
|
46 |
}
|
47 |
|
41 |
*/
|
42 |
public static function enqueueScripts() {
|
43 |
wp_enqueue_style( 'bglib-dashboard',
|
44 |
+
Configs::get( 'libraryUrl' ) . 'src/assets/css/dashboard.css',
|
45 |
+
[],
|
46 |
+
Configs::get( 'libraryVersion' )
|
47 |
);
|
48 |
}
|
49 |
|
vendor/boldgrid/library/src/library.global.php
CHANGED
@@ -6,6 +6,7 @@
|
|
6 |
defined( 'WPFORMS_SHAREASALE_ID' ) || define( 'WPFORMS_SHAREASALE_ID', '1581233' );
|
7 |
|
8 |
return array(
|
|
|
9 |
'api' => 'https://api.boldgrid.com',
|
10 |
'option' => 'license',
|
11 |
'key' => get_site_option( 'boldgrid_api_key', null ),
|
6 |
defined( 'WPFORMS_SHAREASALE_ID' ) || define( 'WPFORMS_SHAREASALE_ID', '1581233' );
|
7 |
|
8 |
return array(
|
9 |
+
'libraryVersion' => '2.12.0',
|
10 |
'api' => 'https://api.boldgrid.com',
|
11 |
'option' => 'license',
|
12 |
'key' => get_site_option( 'boldgrid_api_key', null ),
|
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 |
|
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitc21381af05826bdf9d5a22b6c9b22028
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
-
call_user_func(\Composer\Autoload\
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
@@ -48,19 +48,19 @@ class ComposerAutoloaderInitc21381af05826bdf9d5a22b6c9b22028
|
|
48 |
$loader->register(true);
|
49 |
|
50 |
if ($useStaticLoader) {
|
51 |
-
$includeFiles = Composer\Autoload\
|
52 |
} else {
|
53 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
54 |
}
|
55 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
56 |
-
|
57 |
}
|
58 |
|
59 |
return $loader;
|
60 |
}
|
61 |
}
|
62 |
|
63 |
-
function
|
64 |
{
|
65 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
66 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit5f6b4e9fc42261e2abf798acbe89d1c6
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit5f6b4e9fc42261e2abf798acbe89d1c6', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit5f6b4e9fc42261e2abf798acbe89d1c6', 'loadClassLoader'));
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit5f6b4e9fc42261e2abf798acbe89d1c6::getInitializer($loader));
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
48 |
$loader->register(true);
|
49 |
|
50 |
if ($useStaticLoader) {
|
51 |
+
$includeFiles = Composer\Autoload\ComposerStaticInit5f6b4e9fc42261e2abf798acbe89d1c6::$files;
|
52 |
} else {
|
53 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
54 |
}
|
55 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
56 |
+
composerRequire5f6b4e9fc42261e2abf798acbe89d1c6($fileIdentifier, $file);
|
57 |
}
|
58 |
|
59 |
return $loader;
|
60 |
}
|
61 |
}
|
62 |
|
63 |
+
function composerRequire5f6b4e9fc42261e2abf798acbe89d1c6($fileIdentifier, $file)
|
64 |
{
|
65 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
66 |
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 ComposerStaticInitc21381af05826bdf9d5a22b6c9b22028
|
|
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 ComposerStaticInit5f6b4e9fc42261e2abf798acbe89d1c6
|
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 = ComposerStaticInit5f6b4e9fc42261e2abf798acbe89d1c6::$prefixLengthsPsr4;
|
95 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit5f6b4e9fc42261e2abf798acbe89d1c6::$prefixDirsPsr4;
|
96 |
+
$loader->classMap = ComposerStaticInit5f6b4e9fc42261e2abf798acbe89d1c6::$classMap;
|
97 |
|
98 |
}, null, ClassLoader::class);
|
99 |
}
|
vendor/composer/installed.json
CHANGED
@@ -6,12 +6,12 @@
|
|
6 |
"source": {
|
7 |
"type": "git",
|
8 |
"url": "https://github.com/BoldGrid/library.git",
|
9 |
-
"reference": "
|
10 |
},
|
11 |
"dist": {
|
12 |
"type": "zip",
|
13 |
-
"url": "https://api.github.com/repos/BoldGrid/library/zipball/
|
14 |
-
"reference": "
|
15 |
"shasum": ""
|
16 |
},
|
17 |
"time": "2020-02-06T17:29:29+00:00",
|
6 |
"source": {
|
7 |
"type": "git",
|
8 |
"url": "https://github.com/BoldGrid/library.git",
|
9 |
+
"reference": "02d8f828136ba6df876c1d5ddaf3d1e7309765a9"
|
10 |
},
|
11 |
"dist": {
|
12 |
"type": "zip",
|
13 |
+
"url": "https://api.github.com/repos/BoldGrid/library/zipball/02d8f828136ba6df876c1d5ddaf3d1e7309765a9",
|
14 |
+
"reference": "02d8f828136ba6df876c1d5ddaf3d1e7309765a9",
|
15 |
"shasum": ""
|
16 |
},
|
17 |
"time": "2020-02-06T17:29:29+00:00",
|