Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apex_micro_site
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Ali Arshad
apex_micro_site
Commits
5b274bf3
Commit
5b274bf3
authored
May 17, 2018
by
jenkins
Browse files
Options
Browse Files
Download
Plain Diff
Merge Request accepted by jenkins build success
parents
d5b5f598
5affe3c8
Pipeline
#556
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
functions.php
WWW_DATA/wp-content/plugins/apex_global_lms/functions.php
+4
-5
No files found.
WWW_DATA/wp-content/plugins/apex_global_lms/functions.php
View file @
5b274bf3
...
@@ -42,9 +42,6 @@ add_action( 'edited_vq_course_promo', 'save_course_promo', 10, 2 );
...
@@ -42,9 +42,6 @@ add_action( 'edited_vq_course_promo', 'save_course_promo', 10, 2 );
add_action
(
'wp_ajax_nopriv_check_promo'
,
'vq_check_promo'
,
10
,
2
);
add_action
(
'wp_ajax_nopriv_check_promo'
,
'vq_check_promo'
,
10
,
2
);
add_action
(
'wp_ajax_check_promo'
,
'vq_check_promo'
,
10
,
2
);
add_action
(
'wp_ajax_check_promo'
,
'vq_check_promo'
,
10
,
2
);
function
set_html_content_type
(){
return
'text/html'
;
}
function
vq_check_promo
()
{
function
vq_check_promo
()
{
$code
=
$_POST
[
'data'
];
$code
=
$_POST
[
'data'
];
...
@@ -98,6 +95,10 @@ function save_course_promo($term_id) {
...
@@ -98,6 +95,10 @@ function save_course_promo($term_id) {
function
vq_lms_process_order
()
function
vq_lms_process_order
()
{
{
function
set_html_content_type
(){
return
'text/html'
;
}
if
(
!
isset
(
$_POST
[
'data'
]))
{
if
(
!
isset
(
$_POST
[
'data'
]))
{
echo
"Unable to process your request"
;
echo
"Unable to process your request"
;
die
;
die
;
...
@@ -286,8 +287,6 @@ function vq_lms_process_order()
...
@@ -286,8 +287,6 @@ function vq_lms_process_order()
$strxml
=
$strxml
.
"<signature>"
.
$_sign
.
"</signature>"
;
$strxml
=
$strxml
.
"<signature>"
.
$_sign
.
"</signature>"
;
$strxml
=
$strxml
.
"</Request>"
;
$strxml
=
$strxml
.
"</Request>"
;
echo
base64_encode
(
$strxml
);
echo
base64_encode
(
$strxml
);
die
;
die
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment