diff --git a/includes/class-iee-plugin-deactivation.php b/includes/class-iee-plugin-deactivation.php index b7f3efb..c68ab5e 100644 --- a/includes/class-iee-plugin-deactivation.php +++ b/includes/class-iee-plugin-deactivation.php @@ -93,10 +93,7 @@ function submit_plugin_deactivation_feedback(){ $client_id = $credentials->client_id; $client_secret = $credentials->client_secret; $customer_email = $user->user_email; - $customer_name = $user->display_name; - if(empty($customer_name)){ - $customer_name = $user->user_firstname. ' '.$user->user_lastname; - } + $customer_name = $user->user_firstname. ' '.$user->user_lastname; $deactivation_reason = isset( $_REQUEST['reason'] ) ? sanitize_text_field( wp_unslash ( $_REQUEST['reason'] ) ): ''; $deactivation_reason_message = $this->get_deactivation_reasons()[$deactivation_reason]; $customer_query = isset( $_REQUEST['customerQuery'] ) ? sanitize_text_field( wp_unslash ( $_REQUEST['customerQuery'] ) ): ''; @@ -194,7 +191,7 @@ class: 'button button-primary prefix ) . "deactivate } }, { - text: "", + text: "", class: 'button', click: function() { jQuery( this ).dialog( "close" ); @@ -255,7 +252,13 @@ class: 'button', }
-

+
+
+

+
+
+
+

+
+

+ +

+