From cf5760bb552d04619764df8220b92fddea3c0f90 Mon Sep 17 00:00:00 2001 From: kcppdevelopers Date: Wed, 15 Jul 2020 15:18:35 +0530 Subject: [PATCH 1/7] remove PHP code, PFWMA-165 --- ...ommerce-multi-account-management-admin.php | 15 ++++------- uninstall.php | 25 ------------------- 2 files changed, 5 insertions(+), 35 deletions(-) diff --git a/admin/class-paypal-for-woocommerce-multi-account-management-admin.php b/admin/class-paypal-for-woocommerce-multi-account-management-admin.php index f2cf135..1bad55f 100644 --- a/admin/class-paypal-for-woocommerce-multi-account-management-admin.php +++ b/admin/class-paypal-for-woocommerce-multi-account-management-admin.php @@ -353,7 +353,7 @@ public function angelleye_display_multi_account_list() { } } $option_four = !empty($microprocessing['woocommerce_paypal_express_api_condition_value']) ? $microprocessing['woocommerce_paypal_express_api_condition_value'][0] : ''; - $option_five = '' . __('Select User Role', 'paypal-for-woocommerce-multi-account-management') . ''; + $option_five = '' . __('Select Buyer Role', 'paypal-for-woocommerce-multi-account-management') . ''; $option_five .= ''; $option_five .= '' . __('All', 'paypal-for-woocommerce-multi-account-management') . ''; $editable_roles = array_reverse(get_editable_roles()); @@ -367,7 +367,7 @@ public function angelleye_display_multi_account_list() { } $option_five .= ''; - $option_five_one = "" . __('Select Author', 'paypal-for-woocommerce-multi-account-management') . ""; + $option_five_one = "" . __('Select Seller/Product Author', 'paypal-for-woocommerce-multi-account-management') . ""; $option_five_one .= ""; $user_string = __( 'All', 'paypal-for-woocommerce-multi-account-management'); if( !empty($selected_user) ) { @@ -1548,7 +1548,7 @@ public function angelleye_multi_account_condition_ui() { } ?> - + - + countries->get_countries(); - if ($countries) { foreach ($countries as $country_key => $country_full_name) { - echo '' . esc_html($country_full_name) . ''; + echo '
' . __('Select User Role', 'paypal-for-woocommerce-multi-account-management') . '
' . __('Select Buyer Role', 'paypal-for-woocommerce-multi-account-management') . '
" . __('Select Author', 'paypal-for-woocommerce-multi-account-management') . "
" . __('Select Seller/Product Author', 'paypal-for-woocommerce-multi-account-management') . "
' . __('Select Priority', 'paypal-for-woocommerce-multi-account-management') . '
' . __('Shipping Class', 'paypal-for-woocommerce-multi-account-management') . '
' . apply_filters('angelleye_multi_account_display_category_label', __('Product categories', 'paypal-for-woocommerce-multi-account-management')) . '
' . __('Currency Code', 'paypal-for-woocommerce-multi-account-management') . '
' . __('Card Type', 'paypal-for-woocommerce-multi-account-management') . '