Skip to content

Commit 31d1bc5

Browse files
committed
Deploying version 2.7.7
1 parent 5bb4a88 commit 31d1bc5

File tree

11 files changed

+2621
-573
lines changed

11 files changed

+2621
-573
lines changed

class/Common/Migration/Flush.php

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ class Flush
1717
/**
1818
* @var Helper
1919
*/
20-
private $http_helper;
20+
protected $http_helper;
2121
/**
2222
* @var Util
2323
*/
24-
private $util;
24+
protected $util;
2525
/**
2626
* @var RemotePost
2727
*/
28-
private $remote_post;
28+
protected $remote_post;
2929
/**
3030
* @var Http
3131
*/
32-
private $http;
32+
protected $http;
3333

3434
public function __construct(
3535
Helper $helper,
@@ -45,7 +45,6 @@ public function __construct(
4545

4646
public function register()
4747
{
48-
add_action('wp_ajax_nopriv_wpmdb_flush', array($this, 'ajax_nopriv_flush',));
4948
add_action('wp_ajax_wpmdb_flush', array($this, 'ajax_flush'));
5049
}
5150

@@ -58,16 +57,6 @@ function ajax_flush()
5857
{
5958
$this->http->check_ajax_referer('flush');
6059

61-
return $this->ajax_nopriv_flush();
62-
}
63-
64-
/**
65-
* Handles the request to flush caches and cleanup migration when pulling with user tables being migrated.
66-
*
67-
* @return bool|null
68-
*/
69-
function ajax_nopriv_flush()
70-
{
7160
$state_data = Persistence::getStateData();
7261

7362
if ('push' === $state_data['intent']) {
@@ -83,9 +72,7 @@ function ajax_nopriv_flush()
8372

8473
Persistence::cleanupStateOptions();
8574

86-
$result = $this->http->end_ajax($return);
87-
88-
return $result;
75+
return $this->http->end_ajax($return);
8976
}
9077

9178
/**

frontend/build-free/asset-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"main.js": "./static/js/main.f368451ba88c.js",
3-
"wpmdb-runtime.js": "./static/js/wpmdb-runtime.8285cf98cb5e.js",
3+
"wpmdb-runtime.js": "./static/js/wpmdb-runtime.0e3d84f6aaf8.js",
44
"static/js/800.e69dbe829c57.chunk.js": "./static/js/800.e69dbe829c57.chunk.js",
55
"static/js/359.fc9cb553b286.chunk.js": "./static/js/359.fc9cb553b286.chunk.js",
66
"static/js/481.cdfec70d88f5.chunk.js": "./static/js/481.cdfec70d88f5.chunk.js",

frontend/build-free/static/js/wpmdb-runtime.0e3d84f6aaf8.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/build-free/static/js/wpmdb-runtime.8285cf98cb5e.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)