feat(user-center): merge promotion rewards into revenue
This commit is contained in:
1 parent
a87fd32fa3
commit
39c92017d9
14 files changed
+1048
-159
No files matched your search
@@ -122,7 +122,9 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['user_login'], $_POST[
|
||||
}
|
||||
|
||||
$invite_prefill = '';
|
||||
if (!empty($_GET['invite'])) {
|
||||
if (!empty($_GET['ref'])) {
|
||||
$invite_prefill = sanitize_key(wp_unslash($_GET['ref']));
|
||||
} elseif (!empty($_GET['invite'])) {
|
||||
$invite_prefill = sanitize_key(wp_unslash($_GET['invite']));
|
||||
} elseif (!empty($_COOKIE['aksrt_invite'])) {
|
||||
$invite_prefill = sanitize_key(wp_unslash($_COOKIE['aksrt_invite']));
|
||||
|
||||
Reference in new issue
Block a user