WP Staging – DB & File Duplicator & Migration - Version 2.9.8

Version Description

  • Fix: Fatal error if another plugin uses the same google library as WP STAGING uses for the backup storage provider #1641
Download this release

Release Info

Developer ReneHermi
Plugin Icon 128x128 WP Staging – DB & File Duplicator & Migration
Version 2.9.8
Comparing to
See all releases

Code changes from version 2.9.7 to 2.9.8

constantsFree.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // WP STAGING version number
4
  if (!defined('WPSTG_VERSION')) {
5
- define('WPSTG_VERSION', '2.9.7');
6
  }
7
 
8
  // Compatible up to WordPress Version
2
 
3
  // WP STAGING version number
4
  if (!defined('WPSTG_VERSION')) {
5
+ define('WPSTG_VERSION', '2.9.8');
6
  }
7
 
8
  // Compatible up to WordPress Version
opcacheBootstrap.php CHANGED
@@ -45,7 +45,7 @@ if (!$canInvalidate) {
45
  *
46
  * We use the "Version" from the headers of the main file of the plugin to compare.
47
  */
48
- $runtimeVersionDifferentFromBuildVersion = get_file_data($pluginFilePath, ['Version' => 'Version'])['Version'] !== '2.9.7';
49
  $lastCheckHappenedAfterInterval = current_time('timestamp') > (int)get_site_transient('wpstg.bootstrap.opcache.lastCleared') + 5 * MINUTE_IN_SECONDS;
50
 
51
  $shouldClearOpCache = apply_filters('wpstg.bootstrap.opcache.shouldClear', $runtimeVersionDifferentFromBuildVersion && $lastCheckHappenedAfterInterval);
45
  *
46
  * We use the "Version" from the headers of the main file of the plugin to compare.
47
  */
48
+ $runtimeVersionDifferentFromBuildVersion = get_file_data($pluginFilePath, ['Version' => 'Version'])['Version'] !== '2.9.8';
49
  $lastCheckHappenedAfterInterval = current_time('timestamp') > (int)get_site_transient('wpstg.bootstrap.opcache.lastCleared') + 5 * MINUTE_IN_SECONDS;
50
 
51
  $shouldClearOpCache = apply_filters('wpstg.bootstrap.opcache.shouldClear', $runtimeVersionDifferentFromBuildVersion && $lastCheckHappenedAfterInterval);
readme.txt CHANGED
@@ -9,7 +9,7 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Tags: backup, cloud backup, database backup, restore, wordpress backup
10
  Requires at least: 3.6+
11
  Tested up to: 5.9
12
- Stable tag: 2.9.7
13
  Requires PHP: 5.6
14
 
15
  Backup & Duplicator Plugin - Clone, move, duplicate & migrate websites to staging, backup, and development sites for authorized users only.
@@ -193,6 +193,9 @@ https://wp-staging.com
193
 
194
  == Changelog ==
195
 
 
 
 
196
  = 2.9.7 =
197
  * New: Support up to WordPress 5.9.2
198
  * New: Feature to upload backups to Google Drive (PRO) #1453
@@ -466,6 +469,8 @@ WP STAGING Backup & Cloning | Full changelog:
466
 
467
  == Upgrade Notice ==
468
 
 
 
469
  * New: Support up to WordPress 5.9.2
470
  * New: Feature to upload backups to Google Drive (PRO) #1453
471
  * New: Add filter wpstg.frontend.showLoginForm to force disable login form for the staging / backup site access #1577
@@ -559,26 +564,13 @@ WP STAGING Backup & Cloning | Full changelog:
559
  * Fix: Fix showing of error when unable to count tables rows and wrap table name when fetching rows during backup #1285
560
  * Fix: Remove custom error handler that could cause errors due to notices being thrown #1292
561
  * Fix: Fix an error that would occur when PHP lacked permission to get the size of a directory when pushing a staging backup site to production #1295
562
- * Dev: Set the version of Selenium containers to 3.141.59-20210713 to avoid issues with broken latest version of selenium #1234
563
 
564
- * Enh: Refactor our wp_login action hook to work with custom calls to this action with different parameter count than the one in WordPress Core #1223
565
- * Enh: Sort new staging sites in descending order by creation time #1226
566
  * Enh: Warn if creating a backup in PHP 32 bits #1231
567
  * Enh: Update the backups upload success message #1221
568
- * Enh: Show a notice for outdated wp staging on free version of plugin #1250
569
- * Enh: Refactor wpstg_existing_clones_beta in db option to wpstg_staging_sites #1211
570
- * Enh: Update the message shown when the entire delete of the staging site fails #1257
571
  * Fix: Fix a rare issue that could happen when creating a new staging site or restoring a backup when there is a row with primary key with value zero #1271
572
  * Fix: Try to repair MyISAM table if it's corrupt when creating a Backup #1222
573
  * Fix: FIx an issue on backup creation that would cause a database export to loop when encountering a table with negative integers or zeros as a primary key value #1251
574
  * Fix: Lock specific tables while exporting a backup, to prevent a rare duplicated row issue #1245
575
  * Fix: If the memory exhausts during a database export using the Backup feature, we now lower the memory usage/speed of the export and try again automatically #1230
576
  * Fix: Prevent failure of adding database to backup from causing a loop #1231
577
- * Fix: Fix issue when old clones from version 1.1.6 or lower replaces the existing clones from later version when upgrading from FREE to PRO version #1233
578
- * Fix: Fix inconsistent Unselect All Tables button's action #1243
579
- * Fix: Replace undefined date with proper formatted date during backups log for some warning and critical messages #1244
580
- * Fix: Split scanning of wp-content into scanning of plugins, themes, uploads and other directories to reduce timeout issues #1247
581
- * Fix: Rename .user.ini to .user.ini.bak after cloning into staging site reduce fatal errors on your staging site. Also show a notice about this #1255
582
- * Fix: Skip scanning the root directory if all other directories are are unselected #1256
583
- * Dev: fix the version of Selenium containers to 3.141.59-20210713 to avoid issues with broken latest version #1234
584
- #1300
9
  Tags: backup, cloud backup, database backup, restore, wordpress backup
10
  Requires at least: 3.6+
11
  Tested up to: 5.9
12
+ Stable tag: 2.9.8
13
  Requires PHP: 5.6
14
 
15
  Backup & Duplicator Plugin - Clone, move, duplicate & migrate websites to staging, backup, and development sites for authorized users only.
193
 
194
  == Changelog ==
195
 
196
+ = 2.9.8 =
197
+ * Fix: Fatal error if another plugin uses the same google library as WP STAGING uses for the backup storage provider #1641
198
+
199
  = 2.9.7 =
200
  * New: Support up to WordPress 5.9.2
201
  * New: Feature to upload backups to Google Drive (PRO) #1453
469
 
470
  == Upgrade Notice ==
471
 
472
+ * Fix: Fatal error if another plugin uses the same google library as WP STAGING uses for the backup storage provider #1641
473
+
474
  * New: Support up to WordPress 5.9.2
475
  * New: Feature to upload backups to Google Drive (PRO) #1453
476
  * New: Add filter wpstg.frontend.showLoginForm to force disable login form for the staging / backup site access #1577
564
  * Fix: Fix showing of error when unable to count tables rows and wrap table name when fetching rows during backup #1285
565
  * Fix: Remove custom error handler that could cause errors due to notices being thrown #1292
566
  * Fix: Fix an error that would occur when PHP lacked permission to get the size of a directory when pushing a staging backup site to production #1295
 
567
 
 
 
568
  * Enh: Warn if creating a backup in PHP 32 bits #1231
569
  * Enh: Update the backups upload success message #1221
 
 
 
570
  * Fix: Fix a rare issue that could happen when creating a new staging site or restoring a backup when there is a row with primary key with value zero #1271
571
  * Fix: Try to repair MyISAM table if it's corrupt when creating a Backup #1222
572
  * Fix: FIx an issue on backup creation that would cause a database export to loop when encountering a table with negative integers or zeros as a primary key value #1251
573
  * Fix: Lock specific tables while exporting a backup, to prevent a rare duplicated row issue #1245
574
  * Fix: If the memory exhausts during a database export using the Backup feature, we now lower the memory usage/speed of the export and try again automatically #1230
575
  * Fix: Prevent failure of adding database to backup from causing a loop #1231
576
+ * Fix: Replace undefined date with proper formatted date during backups log for some warning and critical messages #1244
 
 
 
 
 
 
 
vendor_wpstg/autoload/vendor.php CHANGED
@@ -203,27 +203,6 @@ return array(
203
  'WPStaging\\Vendor\\Google\\Task\\Retryable' => $vendorDir . '/google/apiclient/src/Task/Retryable.php',
204
  'WPStaging\\Vendor\\Google\\Task\\Runner' => $vendorDir . '/google/apiclient/src/Task/Runner.php',
205
  'WPStaging\\Vendor\\Google\\Utils\\UriTemplate' => $vendorDir . '/google/apiclient/src/Utils/UriTemplate.php',
206
- 'WPStaging\\Vendor\\Google_AccessToken_Revoke' => $vendorDir . '/google/apiclient/src/aliases.php',
207
- 'WPStaging\\Vendor\\Google_AccessToken_Verify' => $vendorDir . '/google/apiclient/src/aliases.php',
208
- 'WPStaging\\Vendor\\Google_AuthHandler_AuthHandlerFactory' => $vendorDir . '/google/apiclient/src/aliases.php',
209
- 'WPStaging\\Vendor\\Google_AuthHandler_Guzzle5AuthHandler' => $vendorDir . '/google/apiclient/src/aliases.php',
210
- 'WPStaging\\Vendor\\Google_AuthHandler_Guzzle6AuthHandler' => $vendorDir . '/google/apiclient/src/aliases.php',
211
- 'WPStaging\\Vendor\\Google_AuthHandler_Guzzle7AuthHandler' => $vendorDir . '/google/apiclient/src/aliases.php',
212
- 'WPStaging\\Vendor\\Google_Client' => $vendorDir . '/google/apiclient/src/aliases.php',
213
- 'WPStaging\\Vendor\\Google_Collection' => $vendorDir . '/google/apiclient/src/aliases.php',
214
- 'WPStaging\\Vendor\\Google_Exception' => $vendorDir . '/google/apiclient/src/aliases.php',
215
- 'WPStaging\\Vendor\\Google_Http_Batch' => $vendorDir . '/google/apiclient/src/aliases.php',
216
- 'WPStaging\\Vendor\\Google_Http_MediaFileUpload' => $vendorDir . '/google/apiclient/src/aliases.php',
217
- 'WPStaging\\Vendor\\Google_Http_REST' => $vendorDir . '/google/apiclient/src/aliases.php',
218
- 'WPStaging\\Vendor\\Google_Model' => $vendorDir . '/google/apiclient/src/aliases.php',
219
- 'WPStaging\\Vendor\\Google_Service' => $vendorDir . '/google/apiclient/src/aliases.php',
220
- 'WPStaging\\Vendor\\Google_Service_Exception' => $vendorDir . '/google/apiclient/src/aliases.php',
221
- 'WPStaging\\Vendor\\Google_Service_Resource' => $vendorDir . '/google/apiclient/src/aliases.php',
222
- 'WPStaging\\Vendor\\Google_Task_Composer' => $vendorDir . '/google/apiclient/src/aliases.php',
223
- 'WPStaging\\Vendor\\Google_Task_Exception' => $vendorDir . '/google/apiclient/src/aliases.php',
224
- 'WPStaging\\Vendor\\Google_Task_Retryable' => $vendorDir . '/google/apiclient/src/aliases.php',
225
- 'WPStaging\\Vendor\\Google_Task_Runner' => $vendorDir . '/google/apiclient/src/aliases.php',
226
- 'WPStaging\\Vendor\\Google_Utils_UriTemplate' => $vendorDir . '/google/apiclient/src/aliases.php',
227
  'WPStaging\\Vendor\\GuzzleHttp\\Client' => $vendorDir . '/guzzlehttp/guzzle/src/Client.php',
228
  'WPStaging\\Vendor\\GuzzleHttp\\ClientInterface' => $vendorDir . '/guzzlehttp/guzzle/src/ClientInterface.php',
229
  'WPStaging\\Vendor\\GuzzleHttp\\Cookie\\CookieJar' => $vendorDir . '/guzzlehttp/guzzle/src/Cookie/CookieJar.php',
@@ -434,6 +413,27 @@ return array(
434
  'WPStaging\\Vendor\\Symfony\\Polyfill\\Php70\\Php70' => $vendorDir . '/symfony/polyfill-php70/Php70.php',
435
  'WPStaging\\Vendor\\Symfony\\Polyfill\\Php72\\Php72' => $vendorDir . '/symfony/polyfill-php72/Php72.php',
436
  'WPStaging\\Vendor\\TypeError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/TypeError.php',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
437
  'WPStaging\\Vendor\\phpseclib\\Crypt\\AES' => $vendorDir . '/phpseclib/phpseclib/phpseclib/Crypt/AES.php',
438
  'WPStaging\\Vendor\\phpseclib\\Crypt\\Base' => $vendorDir . '/phpseclib/phpseclib/phpseclib/Crypt/Base.php',
439
  'WPStaging\\Vendor\\phpseclib\\Crypt\\Blowfish' => $vendorDir . '/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php',
203
  'WPStaging\\Vendor\\Google\\Task\\Retryable' => $vendorDir . '/google/apiclient/src/Task/Retryable.php',
204
  'WPStaging\\Vendor\\Google\\Task\\Runner' => $vendorDir . '/google/apiclient/src/Task/Runner.php',
205
  'WPStaging\\Vendor\\Google\\Utils\\UriTemplate' => $vendorDir . '/google/apiclient/src/Utils/UriTemplate.php',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
206
  'WPStaging\\Vendor\\GuzzleHttp\\Client' => $vendorDir . '/guzzlehttp/guzzle/src/Client.php',
207
  'WPStaging\\Vendor\\GuzzleHttp\\ClientInterface' => $vendorDir . '/guzzlehttp/guzzle/src/ClientInterface.php',
208
  'WPStaging\\Vendor\\GuzzleHttp\\Cookie\\CookieJar' => $vendorDir . '/guzzlehttp/guzzle/src/Cookie/CookieJar.php',
413
  'WPStaging\\Vendor\\Symfony\\Polyfill\\Php70\\Php70' => $vendorDir . '/symfony/polyfill-php70/Php70.php',
414
  'WPStaging\\Vendor\\Symfony\\Polyfill\\Php72\\Php72' => $vendorDir . '/symfony/polyfill-php72/Php72.php',
415
  'WPStaging\\Vendor\\TypeError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/TypeError.php',
416
+ 'WPStaging\\Vendor\\WPStaging_Vendor_Google_AccessToken_Revoke' => $vendorDir . '/google/apiclient/src/aliases.php',
417
+ 'WPStaging\\Vendor\\WPStaging_Vendor_Google_AccessToken_Verify' => $vendorDir . '/google/apiclient/src/aliases.php',
418
+ 'WPStaging\\Vendor\\WPStaging_Vendor_Google_AuthHandler_AuthHandlerFactory' => $vendorDir . '/google/apiclient/src/aliases.php',
419
+ 'WPStaging\\Vendor\\WPStaging_Vendor_Google_AuthHandler_Guzzle5AuthHandler' => $vendorDir . '/google/apiclient/src/aliases.php',
420
+ 'WPStaging\\Vendor\\WPStaging_Vendor_Google_AuthHandler_Guzzle6AuthHandler' => $vendorDir . '/google/apiclient/src/aliases.php',
421
+ 'WPStaging\\Vendor\\WPStaging_Vendor_Google_AuthHandler_Guzzle7AuthHandler' => $vendorDir . '/google/apiclient/src/aliases.php',
422
+ 'WPStaging\\Vendor\\WPStaging_Vendor_Google_Client' => $vendorDir . '/google/apiclient/src/aliases.php',
423
+ 'WPStaging\\Vendor\\WPStaging_Vendor_Google_Collection' => $vendorDir . '/google/apiclient/src/aliases.php',
424
+ 'WPStaging\\Vendor\\WPStaging_Vendor_Google_Exception' => $vendorDir . '/google/apiclient/src/aliases.php',
425
+ 'WPStaging\\Vendor\\WPStaging_Vendor_Google_Http_Batch' => $vendorDir . '/google/apiclient/src/aliases.php',
426
+ 'WPStaging\\Vendor\\WPStaging_Vendor_Google_Http_MediaFileUpload' => $vendorDir . '/google/apiclient/src/aliases.php',
427
+ 'WPStaging\\Vendor\\WPStaging_Vendor_Google_Http_REST' => $vendorDir . '/google/apiclient/src/aliases.php',
428
+ 'WPStaging\\Vendor\\WPStaging_Vendor_Google_Model' => $vendorDir . '/google/apiclient/src/aliases.php',
429
+ 'WPStaging\\Vendor\\WPStaging_Vendor_Google_Service' => $vendorDir . '/google/apiclient/src/aliases.php',
430
+ 'WPStaging\\Vendor\\WPStaging_Vendor_Google_Service_Exception' => $vendorDir . '/google/apiclient/src/aliases.php',
431
+ 'WPStaging\\Vendor\\WPStaging_Vendor_Google_Service_Resource' => $vendorDir . '/google/apiclient/src/aliases.php',
432
+ 'WPStaging\\Vendor\\WPStaging_Vendor_Google_Task_Composer' => $vendorDir . '/google/apiclient/src/aliases.php',
433
+ 'WPStaging\\Vendor\\WPStaging_Vendor_Google_Task_Exception' => $vendorDir . '/google/apiclient/src/aliases.php',
434
+ 'WPStaging\\Vendor\\WPStaging_Vendor_Google_Task_Retryable' => $vendorDir . '/google/apiclient/src/aliases.php',
435
+ 'WPStaging\\Vendor\\WPStaging_Vendor_Google_Task_Runner' => $vendorDir . '/google/apiclient/src/aliases.php',
436
+ 'WPStaging\\Vendor\\WPStaging_Vendor_Google_Utils_UriTemplate' => $vendorDir . '/google/apiclient/src/aliases.php',
437
  'WPStaging\\Vendor\\phpseclib\\Crypt\\AES' => $vendorDir . '/phpseclib/phpseclib/phpseclib/Crypt/AES.php',
438
  'WPStaging\\Vendor\\phpseclib\\Crypt\\Base' => $vendorDir . '/phpseclib/phpseclib/phpseclib/Crypt/Base.php',
439
  'WPStaging\\Vendor\\phpseclib\\Crypt\\Blowfish' => $vendorDir . '/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php',
vendor_wpstg/google/apiclient/src/aliases.php CHANGED
@@ -2,12 +2,12 @@
2
 
3
  namespace WPStaging\Vendor;
4
 
5
- if (\class_exists('WPStaging\\Vendor\\Google_Client', \false)) {
6
  // Prevent error with preloading in PHP 7.4
7
  // @see https://github.com/googleapis/google-api-php-client/issues/1976
8
  return;
9
  }
10
- $classMap = ['WPStaging\\Vendor\\Google\\Client' => 'Google_Client', 'WPStaging\\Vendor\\Google\\Service' => 'Google_Service', 'WPStaging\\Vendor\\Google\\AccessToken\\Revoke' => 'Google_AccessToken_Revoke', 'WPStaging\\Vendor\\Google\\AccessToken\\Verify' => 'Google_AccessToken_Verify', 'WPStaging\\Vendor\\Google\\Model' => 'Google_Model', 'WPStaging\\Vendor\\Google\\Utils\\UriTemplate' => 'Google_Utils_UriTemplate', 'WPStaging\\Vendor\\Google\\AuthHandler\\Guzzle6AuthHandler' => 'Google_AuthHandler_Guzzle6AuthHandler', 'WPStaging\\Vendor\\Google\\AuthHandler\\Guzzle7AuthHandler' => 'Google_AuthHandler_Guzzle7AuthHandler', 'WPStaging\\Vendor\\Google\\AuthHandler\\Guzzle5AuthHandler' => 'Google_AuthHandler_Guzzle5AuthHandler', 'WPStaging\\Vendor\\Google\\AuthHandler\\AuthHandlerFactory' => 'Google_AuthHandler_AuthHandlerFactory', 'WPStaging\\Vendor\\Google\\Http\\Batch' => 'Google_Http_Batch', 'WPStaging\\Vendor\\Google\\Http\\MediaFileUpload' => 'Google_Http_MediaFileUpload', 'WPStaging\\Vendor\\Google\\Http\\REST' => 'Google_Http_REST', 'WPStaging\\Vendor\\Google\\Task\\Retryable' => 'Google_Task_Retryable', 'WPStaging\\Vendor\\Google\\Task\\Exception' => 'Google_Task_Exception', 'WPStaging\\Vendor\\Google\\Task\\Runner' => 'Google_Task_Runner', 'WPStaging\\Vendor\\Google\\Collection' => 'Google_Collection', 'WPStaging\\Vendor\\Google\\Service\\Exception' => 'Google_Service_Exception', 'WPStaging\\Vendor\\Google\\Service\\Resource' => 'Google_Service_Resource', 'WPStaging\\Vendor\\Google\\Exception' => 'Google_Exception'];
11
  foreach ($classMap as $class => $alias) {
12
  \class_alias($class, $alias);
13
  }
@@ -15,68 +15,68 @@ foreach ($classMap as $class => $alias) {
15
  * This class needs to be defined explicitly as scripts must be recognized by
16
  * the autoloader.
17
  */
18
- class Google_Task_Composer extends \WPStaging\Vendor\Google\Task\Composer
19
  {
20
  }
21
  if (\false) {
22
- class Google_AccessToken_Revoke extends \WPStaging\Vendor\Google\AccessToken\Revoke
23
  {
24
  }
25
- class Google_AccessToken_Verify extends \WPStaging\Vendor\Google\AccessToken\Verify
26
  {
27
  }
28
- class Google_AuthHandler_AuthHandlerFactory extends \WPStaging\Vendor\Google\AuthHandler\AuthHandlerFactory
29
  {
30
  }
31
- class Google_AuthHandler_Guzzle5AuthHandler extends \WPStaging\Vendor\Google\AuthHandler\Guzzle5AuthHandler
32
  {
33
  }
34
- class Google_AuthHandler_Guzzle6AuthHandler extends \WPStaging\Vendor\Google\AuthHandler\Guzzle6AuthHandler
35
  {
36
  }
37
- class Google_AuthHandler_Guzzle7AuthHandler extends \WPStaging\Vendor\Google\AuthHandler\Guzzle7AuthHandler
38
  {
39
  }
40
- class Google_Client extends \WPStaging\Vendor\Google\Client
41
  {
42
  }
43
- class Google_Collection extends \WPStaging\Vendor\Google\Collection
44
  {
45
  }
46
- class Google_Exception extends \WPStaging\Vendor\Google\Exception
47
  {
48
  }
49
- class Google_Http_Batch extends \WPStaging\Vendor\Google\Http\Batch
50
  {
51
  }
52
- class Google_Http_MediaFileUpload extends \WPStaging\Vendor\Google\Http\MediaFileUpload
53
  {
54
  }
55
- class Google_Http_REST extends \WPStaging\Vendor\Google\Http\REST
56
  {
57
  }
58
- class Google_Model extends \WPStaging\Vendor\Google\Model
59
  {
60
  }
61
- class Google_Service extends \WPStaging\Vendor\Google\Service
62
  {
63
  }
64
- class Google_Service_Exception extends \WPStaging\Vendor\Google\Service\Exception
65
  {
66
  }
67
- class Google_Service_Resource extends \WPStaging\Vendor\Google\Service\Resource
68
  {
69
  }
70
- class Google_Task_Exception extends \WPStaging\Vendor\Google\Task\Exception
71
  {
72
  }
73
- interface Google_Task_Retryable extends \WPStaging\Vendor\Google\Task\Retryable
74
  {
75
  }
76
- class Google_Task_Runner extends \WPStaging\Vendor\Google\Task\Runner
77
  {
78
  }
79
- class Google_Utils_UriTemplate extends \WPStaging\Vendor\Google\Utils\UriTemplate
80
  {
81
  }
82
  }
2
 
3
  namespace WPStaging\Vendor;
4
 
5
+ if (\class_exists('WPStaging\\Vendor\\WPStaging_Vendor_Google_Client', \false)) {
6
  // Prevent error with preloading in PHP 7.4
7
  // @see https://github.com/googleapis/google-api-php-client/issues/1976
8
  return;
9
  }
10
+ $classMap = ['WPStaging\\Vendor\\Google\\Client' => 'WPStaging_Vendor_Google_Client', 'WPStaging\\Vendor\\Google\\Service' => 'WPStaging_Vendor_Google_Service', 'WPStaging\\Vendor\\Google\\AccessToken\\Revoke' => 'WPStaging_Vendor_Google_AccessToken_Revoke', 'WPStaging\\Vendor\\Google\\AccessToken\\Verify' => 'WPStaging_Vendor_Google_AccessToken_Verify', 'WPStaging\\Vendor\\Google\\Model' => 'WPStaging_Vendor_Google_Model', 'WPStaging\\Vendor\\Google\\Utils\\UriTemplate' => 'WPStaging_Vendor_Google_Utils_UriTemplate', 'WPStaging\\Vendor\\Google\\AuthHandler\\Guzzle6AuthHandler' => 'WPStaging_Vendor_Google_AuthHandler_Guzzle6AuthHandler', 'WPStaging\\Vendor\\Google\\AuthHandler\\Guzzle7AuthHandler' => 'WPStaging_Vendor_Google_AuthHandler_Guzzle7AuthHandler', 'WPStaging\\Vendor\\Google\\AuthHandler\\Guzzle5AuthHandler' => 'WPStaging_Vendor_Google_AuthHandler_Guzzle5AuthHandler', 'WPStaging\\Vendor\\Google\\AuthHandler\\AuthHandlerFactory' => 'WPStaging_Vendor_Google_AuthHandler_AuthHandlerFactory', 'WPStaging\\Vendor\\Google\\Http\\Batch' => 'WPStaging_Vendor_Google_Http_Batch', 'WPStaging\\Vendor\\Google\\Http\\MediaFileUpload' => 'WPStaging_Vendor_Google_Http_MediaFileUpload', 'WPStaging\\Vendor\\Google\\Http\\REST' => 'WPStaging_Vendor_Google_Http_REST', 'WPStaging\\Vendor\\Google\\Task\\Retryable' => 'WPStaging_Vendor_Google_Task_Retryable', 'WPStaging\\Vendor\\Google\\Task\\Exception' => 'WPStaging_Vendor_Google_Task_Exception', 'WPStaging\\Vendor\\Google\\Task\\Runner' => 'WPStaging_Vendor_Google_Task_Runner', 'WPStaging\\Vendor\\Google\\Collection' => 'WPStaging_Vendor_Google_Collection', 'WPStaging\\Vendor\\Google\\Service\\Exception' => 'WPStaging_Vendor_Google_Service_Exception', 'WPStaging\\Vendor\\Google\\Service\\Resource' => 'WPStaging_Vendor_Google_Service_Resource', 'WPStaging\\Vendor\\Google\\Exception' => 'WPStaging_Vendor_Google_Exception'];
11
  foreach ($classMap as $class => $alias) {
12
  \class_alias($class, $alias);
13
  }
15
  * This class needs to be defined explicitly as scripts must be recognized by
16
  * the autoloader.
17
  */
18
+ class WPStaging_Vendor_Google_Task_Composer extends \WPStaging\Vendor\Google\Task\Composer
19
  {
20
  }
21
  if (\false) {
22
+ class WPStaging_Vendor_Google_AccessToken_Revoke extends \WPStaging\Vendor\Google\AccessToken\Revoke
23
  {
24
  }
25
+ class WPStaging_Vendor_Google_AccessToken_Verify extends \WPStaging\Vendor\Google\AccessToken\Verify
26
  {
27
  }
28
+ class WPStaging_Vendor_Google_AuthHandler_AuthHandlerFactory extends \WPStaging\Vendor\Google\AuthHandler\AuthHandlerFactory
29
  {
30
  }
31
+ class WPStaging_Vendor_Google_AuthHandler_Guzzle5AuthHandler extends \WPStaging\Vendor\Google\AuthHandler\Guzzle5AuthHandler
32
  {
33
  }
34
+ class WPStaging_Vendor_Google_AuthHandler_Guzzle6AuthHandler extends \WPStaging\Vendor\Google\AuthHandler\Guzzle6AuthHandler
35
  {
36
  }
37
+ class WPStaging_Vendor_Google_AuthHandler_Guzzle7AuthHandler extends \WPStaging\Vendor\Google\AuthHandler\Guzzle7AuthHandler
38
  {
39
  }
40
+ class WPStaging_Vendor_Google_Client extends \WPStaging\Vendor\Google\Client
41
  {
42
  }
43
+ class WPStaging_Vendor_Google_Collection extends \WPStaging\Vendor\Google\Collection
44
  {
45
  }
46
+ class WPStaging_Vendor_Google_Exception extends \WPStaging\Vendor\Google\Exception
47
  {
48
  }
49
+ class WPStaging_Vendor_Google_Http_Batch extends \WPStaging\Vendor\Google\Http\Batch
50
  {
51
  }
52
+ class WPStaging_Vendor_Google_Http_MediaFileUpload extends \WPStaging\Vendor\Google\Http\MediaFileUpload
53
  {
54
  }
55
+ class WPStaging_Vendor_Google_Http_REST extends \WPStaging\Vendor\Google\Http\REST
56
  {
57
  }
58
+ class WPStaging_Vendor_Google_Model extends \WPStaging\Vendor\Google\Model
59
  {
60
  }
61
+ class WPStaging_Vendor_Google_Service extends \WPStaging\Vendor\Google\Service
62
  {
63
  }
64
+ class WPStaging_Vendor_Google_Service_Exception extends \WPStaging\Vendor\Google\Service\Exception
65
  {
66
  }
67
+ class WPStaging_Vendor_Google_Service_Resource extends \WPStaging\Vendor\Google\Service\Resource
68
  {
69
  }
70
+ class WPStaging_Vendor_Google_Task_Exception extends \WPStaging\Vendor\Google\Task\Exception
71
  {
72
  }
73
+ interface WPStaging_Vendor_Google_Task_Retryable extends \WPStaging\Vendor\Google\Task\Retryable
74
  {
75
  }
76
+ class WPStaging_Vendor_Google_Task_Runner extends \WPStaging\Vendor\Google\Task\Runner
77
  {
78
  }
79
+ class WPStaging_Vendor_Google_Utils_UriTemplate extends \WPStaging\Vendor\Google\Utils\UriTemplate
80
  {
81
  }
82
  }
wp-staging.php CHANGED
@@ -7,7 +7,7 @@
7
  * Author: WP-STAGING
8
  * Author URI: https://wp-staging.com
9
  * Contributors: ReneHermi
10
- * Version: 2.9.7
11
  * Text Domain: wp-staging
12
  * Domain Path: /languages/
13
  *
7
  * Author: WP-STAGING
8
  * Author URI: https://wp-staging.com
9
  * Contributors: ReneHermi
10
+ * Version: 2.9.8
11
  * Text Domain: wp-staging
12
  * Domain Path: /languages/
13
  *