- (' . WC()->cart->get_cart_total() . ')' ); ?>
+ (' . WC()->cart->get_cart_total() . ')' ) ); ?>
diff --git a/templates/global/seller-registration-form.php b/templates/global/seller-registration-form.php
index a29dcf76b4..b92b905701 100644
--- a/templates/global/seller-registration-form.php
+++ b/templates/global/seller-registration-form.php
@@ -46,7 +46,7 @@
if ( 'on' === $show_terms_condition && $terms_condition_url ) { ?>
-
+
get_product_from_item( $item );
-
dokan_get_template_part( 'orders/order-item-html', '', array(
'order' => $order,
'item_id' => $item_id,
@@ -128,7 +127,7 @@
if ( $order->get_formatted_billing_address() ) {
echo wp_kses_post( $order->get_formatted_billing_address() );
} else {
- _e( 'No billing address set.', 'dokan-lite' );
+ esc_html_e( 'No billing address set.', 'dokan-lite' );
}
?>
@@ -143,7 +142,7 @@
if ( $order->get_formatted_shipping_address() ) {
echo wp_kses_post( $order->get_formatted_shipping_address() );
} else {
- _e( 'No shipping address set.', 'dokan-lite' );
+ esc_html_e( 'No shipping address set.', 'dokan-lite' );
}
?>
diff --git a/templates/orders/listing.php b/templates/orders/listing.php
index 70654a8c9d..52db928fee 100755
--- a/templates/orders/listing.php
+++ b/templates/orders/listing.php
@@ -67,19 +67,19 @@
- dokan_get_prop( $the_order, 'id' ) ), dokan_get_navigation_url( 'orders' ) ), 'dokan_view_order' ) ) . '">' . sprintf( __( 'Order %s', 'dokan-lite' ), esc_attr( $the_order->get_order_number() ) ) . ''; ?>
+ dokan_get_prop( $the_order, 'id' ) ), dokan_get_navigation_url( 'orders' ) ), 'dokan_view_order' ) ) . '">' . sprintf( __( 'Order %s', 'dokan-lite' ), esc_attr( $the_order->get_order_number() ) ) . '' ); ?>
- ' . sprintf( __( 'Order %s', 'dokan-lite' ), esc_attr( $the_order->get_order_number() ) ) . ''; ?>
+ ' . sprintf( __( 'Order %s', 'dokan-lite' ), esc_attr( $the_order->get_order_number() ) ) . '' ); ?>
|
- get_formatted_order_total(); ?>
+ get_formatted_order_total() ); ?>
|
- commission->get_earning_by_order( $the_order ) ); ?>
+ commission->get_earning_by_order( $the_order ) ) ); ?>
|
- ' . dokan_get_order_status_translated( dokan_get_prop( $the_order, 'status' ) ) . ''; ?>
+ ' . dokan_get_order_status_translated( dokan_get_prop( $the_order, 'status' ) ) . '' ); ?>
|
%s ', esc_url( $action['url'] ), esc_attr( $action['name'] ), $icon );
+ echo wp_kses_post( sprintf( '%s ', esc_url( $action['url'] ), esc_attr( $action['name'] ), $icon ) );
}
do_action( 'woocommerce_admin_order_actions_end', $the_order );
@@ -201,7 +201,7 @@
$base_url = dokan_get_navigation_url( 'orders' );
if ( $num_of_pages > 1 ) {
- echo '';
+
+ echo wp_kses_post( $pagination );
}
?>
diff --git a/templates/orders/order-download-permission-html.php b/templates/orders/order-download-permission-html.php
index 2d9f2a3a8c..37689f8409 100755
--- a/templates/orders/order-download-permission-html.php
+++ b/templates/orders/order-download-permission-html.php
@@ -4,10 +4,10 @@
- get_title(), $download->product_id, $download->order_id, $download->order_key, $download->download_id ) . ' — ' . sprintf( __( 'File %d: %s', 'dokan-lite' ), $file_count, wc_get_filename_from_url( $product->get_file_download_path( $download->download_id ) ) ); ?>
+ get_title(), $download->product_id, $download->order_id, $download->order_key, $download->download_id ) . ' — ' . sprintf( __( 'File %d: %s', 'dokan-lite' ), $file_count, wc_get_filename_from_url( $product->get_file_download_path( $download->download_id ) ) ) ); ?>
-
+
@@ -19,7 +19,7 @@
- download_count ), 'dokan-lite'), absint( $download->download_count ) ); ?>
+ download_count ), 'dokan-lite'), absint( $download->download_count ) ) ); ?>
|
diff --git a/templates/orders/order-item-html.php b/templates/orders/order-item-html.php
index fd41c73d22..850702f4b5 100755
--- a/templates/orders/order-item-html.php
+++ b/templates/orders/order-item-html.php
@@ -19,7 +19,7 @@
get_image( 'shop_thumbnail', array( 'title' => '' ) ), $img_kses ); ?>
-
+
|
@@ -85,9 +85,11 @@
' . wc_price( $item['line_subtotal'] ) . ' ';
+ if ( isset( $item['line_subtotal'] ) && $item['line_subtotal'] != $item['line_total'] ) {
+ echo wp_kses_post( '' . wc_price( $item['line_subtotal'] ) . ' ' );
+ }
- echo wc_price( $item['line_total'], array( 'currency' => dokan_replace_func( 'get_order_currency', 'get_currency', $order ) ) );
+ echo wp_kses_post( wc_price( $item['line_total'], array( 'currency' => dokan_replace_func( 'get_order_currency', 'get_currency', $order ) ) ) );
}
?>
|
diff --git a/templates/seller-search-form.php b/templates/seller-search-form.php
index 9c4a738bb1..a2facf68c3 100644
--- a/templates/seller-search-form.php
+++ b/templates/seller-search-form.php
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/templates/store-header.php b/templates/store-header.php
index d32912364b..b9821dfa39 100644
--- a/templates/store-header.php
+++ b/templates/store-header.php
@@ -68,7 +68,7 @@ class="profile-info-img">
-
-
+
@@ -88,7 +88,7 @@ class="profile-info-img">
-
- get_id() ); ?>
+ get_id() ) ); ?>
diff --git a/templates/store-lists-loop.php b/templates/store-lists-loop.php
index 8427e71b74..a69467009b 100644
--- a/templates/store-lists-loop.php
+++ b/templates/store-lists-loop.php
@@ -35,7 +35,7 @@
-
+
diff --git a/templates/withdraw/approved-request-listing.php b/templates/withdraw/approved-request-listing.php
index 8ffcd5af3d..0cd0eb3d8b 100644
--- a/templates/withdraw/approved-request-listing.php
+++ b/templates/withdraw/approved-request-listing.php
@@ -20,7 +20,7 @@
- amount ); ?> |
+ amount ) ); ?> |
method ) ); ?> |
date ) ) ); ?> |
diff --git a/templates/withdraw/cancelled-request-listing.php b/templates/withdraw/cancelled-request-listing.php
index 408416ea0d..b348ea2c60 100644
--- a/templates/withdraw/cancelled-request-listing.php
+++ b/templates/withdraw/cancelled-request-listing.php
@@ -21,7 +21,7 @@
- amount ); ?> |
+ amount ) ); ?> |
method ) ); ?> |
date ) ) ); ?> |
note ); ?> |
diff --git a/templates/withdraw/pending-request-listing.php b/templates/withdraw/pending-request-listing.php
index 3d1404e17e..0460ec7dbf 100644
--- a/templates/withdraw/pending-request-listing.php
+++ b/templates/withdraw/pending-request-listing.php
@@ -21,7 +21,7 @@
- amount ); ?> |
+ amount ) ); ?> |
method ) ); ?> |
date ) ); ?> |
| |