From d4ff82fdb3e9b35e18039af2761e07825c34aac9 Mon Sep 17 00:00:00 2001 From: Fazle Bari Date: Sun, 16 Jul 2023 16:44:13 +0600 Subject: [PATCH 01/85] remove added_to_cart trigger for third-party plugin support --- assets/js/custom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/custom.js b/assets/js/custom.js index 1401be37..afd35ea8 100644 --- a/assets/js/custom.js +++ b/assets/js/custom.js @@ -2481,7 +2481,7 @@ jQuery(function($) { thisButton.addClass('added'); }).done(function(){ messageBox.val(''); - $( document.body ).trigger( 'added_to_cart' ); + // $( document.body ).trigger( 'added_to_cart' ); $( document.body ).trigger( 'updated_cart_totals' ); $( document.body ).trigger( 'wc_fragments_refreshed' ); $( document.body ).trigger( 'wc_fragments_refresh' ); From 610e4878353e2c20b41a36b3483bfd74e9955624 Mon Sep 17 00:00:00 2001 From: Saiful Islam Date: Tue, 25 Jul 2023 11:29:12 +0600 Subject: [PATCH 02/85] deactive plugin feature updated little --- admin/handle/plugin-deactive/deactive-form.php | 7 ++++++- admin/handle/plugin-deactive/message.css | 6 ++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/admin/handle/plugin-deactive/deactive-form.php b/admin/handle/plugin-deactive/deactive-form.php index be923e90..3921e6f5 100644 --- a/admin/handle/plugin-deactive/deactive-form.php +++ b/admin/handle/plugin-deactive/deactive-form.php @@ -211,6 +211,11 @@ public function form() $site_url = get_site_url(); $blog_name = get_bloginfo( 'name' ); $plugin_name = $this->data['name'] ?? 'CA Plugin'; + $email = ''; + if(function_exists('wp_get_current_user')){ + $current_user = wp_get_current_user(); + $email = $current_user->user_email; + } ?>
@@ -231,7 +236,7 @@ public function form()

For support queries Submit Ticket