PluginProbe
EmailKit – Email Customizer for WooCommerce & WP / 1.6.9
EmailKit – Email Customizer for WooCommerce & WP v1.6.9
1.6.9 1.6.8 1.6.7 trunk 1.0.0 1.2.0 1.4.0 1.4.5 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6
← All changes | includes/Admin/Hooks.php +5 -1 1.6.21.6.9 View file →
@@ -101,8 +101,12 @@
101 101 // Check for MetForm type first (starts with 'metform_form_' or equals METFORM constant)
102 102 if (strpos($type, 'metform_form_') === 0 || $type === EmailLists::METFORM) {
103 103 echo esc_html__('Confirmation Mail To User', 'emailkit');
104 104 }
105 + // Check for PopupKit type
106 + elseif (strpos($type, 'popupkit_popup_') === 0 || $type === EmailLists::POPUPKIT) {
107 + echo esc_html__('Popup Submission Mail', 'emailkit');
108 + }
105 109 // Then check WooCommerce
106 110 elseif (isset(EmailLists::woocommerce_email()[$type])) {
107 111 echo esc_html(EmailLists::woocommerce_email()[$type]);
108 112 }
@@ -123,9 +127,9 @@
123 127
124 128 if (!empty($status)) {
125 129 ?>
126 130 <div class="emailkit-admin-template-switch">
127 - <div class="emailkit-admin-template-switch-inactive">Active</div>
131 + <div class="emailkit-admin-template-switch-inactive"><?php esc_html_e( 'Active', 'emailkit' ); ?></div>
128 132 <div class="emailkit-admin-template-switch-main">
129 133 <div class="switch-container">
130 134 <label class="switch" for="emailkit-template-status-switch-<?php echo esc_attr($post_id) ?>">
131 135 <input type="checkbox" id="emailkit-template-status-switch-<?php echo esc_attr($post_id)?>" class="change-status-btn <?php echo esc_html($temple_type)?>" data-template-id="<?php echo esc_attr($post_id)?>" <?php echo esc_attr($status === 'active') ? 'checked' : '';?> />