PluginProbe
Easy Invoice – Invoice Generator, PDF Quotes & Payments / 2.4.1
Easy Invoice – Invoice Generator, PDF Quotes & Payments v2.4.1
2.4.0 2.4.1 2.3.8 2.3.7 2.3.6 2.3.5 2.3.4 2.3.3 2.3.2 2.3.1 2.2.0 2.1.21 2.1.20 2.1.19 2.1.18 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.16 2.1.2 All 57 releases
← All changes | includes/Gateways/ManualGateway.php +18 -18 2.3.42.4.1 View file →
@@ -185,9 +185,9 @@
185 185 <div class="payment-method-option">
186 186 <input type="radio" id="payment-cash" name="payment_type" value="cash" checked>
187 187 <label for="payment-cash">
188 188 <i class="fas fa-money-bill-wave"></i>
189 - <span><?php _e('Cash', 'easy-invoice'); ?></span>
189 + <span><?php esc_html_e('Cash', 'easy-invoice'); ?></span>
190 190 </label>
191 191 </div>
192 192 <div class="payment-method-option">
193 193 <input type="radio" id="payment-bank" name="payment_type" value="bank">
@@ -192,9 +192,9 @@
192 192 <div class="payment-method-option">
193 193 <input type="radio" id="payment-bank" name="payment_type" value="bank">
194 194 <label for="payment-bank">
195 195 <i class="fas fa-university"></i>
196 - <span><?php _e('Bank Transfer', 'easy-invoice'); ?></span>
196 + <span><?php esc_html_e('Bank Transfer', 'easy-invoice'); ?></span>
197 197 </label>
198 198 </div>
199 199 <div class="payment-method-option">
200 200 <input type="radio" id="payment-cheque" name="payment_type" value="cheque">
@@ -199,9 +199,9 @@
199 199 <div class="payment-method-option">
200 200 <input type="radio" id="payment-cheque" name="payment_type" value="cheque">
201 201 <label for="payment-cheque">
202 202 <i class="fas fa-money-check"></i>
203 - <span><?php _e('Cheque', 'easy-invoice'); ?></span>
203 + <span><?php esc_html_e('Cheque', 'easy-invoice'); ?></span>
204 204 </label>
205 205 </div>
206 206 </div>
207 207
@@ -206,9 +206,9 @@
206 206 </div>
207 207
208 208 <div class="payment-details">
209 209 <div class="cash-details" id="cash-details">
210 - <p><?php _e('Please pay in cash and notify the administrator.', 'easy-invoice'); ?></p>
210 + <p><?php esc_html_e('Please pay in cash and notify the administrator.', 'easy-invoice'); ?></p>
211 211 </div>
212 212
213 213 <div class="bank-details" id="bank-details" style="display: none;">
214 214 <?php $this->renderBankDetails(); ?>
@@ -219,15 +219,15 @@
219 219 </div>
220 220 </div>
221 221
222 222 <div class="payment-proof-section">
223 - <h4><?php _e('Upload Payment Proof', 'easy-invoice'); ?></h4>
223 + <h4><?php esc_html_e('Upload Payment Proof', 'easy-invoice'); ?></h4>
224 224 <div class="form-group">
225 - <label for="payment_proof"><?php _e('Upload receipt or proof of payment:', 'easy-invoice'); ?></label>
225 + <label for="payment_proof"><?php esc_html_e('Upload receipt or proof of payment:', 'easy-invoice'); ?></label>
226 226 <input type="file" id="payment_proof" name="payment_proof" accept="image/*,.pdf">
227 227 </div>
228 228 <div class="form-group">
229 - <label for="payment_notes"><?php _e('Additional notes:', 'easy-invoice'); ?></label>
229 + <label for="payment_notes"><?php esc_html_e('Additional notes:', 'easy-invoice'); ?></label>
230 230 <textarea id="payment_notes" name="payment_notes" rows="3"></textarea>
231 231 </div>
232 232 </div>
233 233
@@ -232,9 +232,9 @@
232 232 </div>
233 233
234 234 <div class="form-actions">
235 235 <button type="button" class="manual-payment-submit" data-invoice-id="<?php echo esc_attr($invoice_id); ?>">
236 - <?php _e('Submit Manual Payment', 'easy-invoice'); ?>
236 + <?php esc_html_e('Submit Manual Payment', 'easy-invoice'); ?>
237 237 </button>
238 238 </div>
239 239 </div>
240 240 <?php
@@ -254,30 +254,30 @@
254 254 $swift_code = get_option('easy_invoice_manual_swift_code', '');
255 255 $bank_address = get_option('easy_invoice_manual_bank_address', '');
256 256
257 257 if (empty($bank_name)) {
258 - echo '<p>' . __('Bank transfer details will be provided by the administrator.', 'easy-invoice') . '</p>';
258 + echo '<p>' . esc_html__('Bank transfer details will be provided by the administrator.', 'easy-invoice') . '</p>';
259 259 return;
260 260 }
261 261
262 262 echo '<table class="bank-details-table">';
263 263 if ($bank_name) {
264 - echo '<tr><th>' . __('Bank Name', 'easy-invoice') . '</th><td>' . esc_html($bank_name) . '</td></tr>';
264 + echo '<tr><th>' . esc_html__('Bank Name', 'easy-invoice') . '</th><td>' . esc_html($bank_name) . '</td></tr>';
265 265 }
266 266 if ($account_name) {
267 - echo '<tr><th>' . __('Account Name', 'easy-invoice') . '</th><td>' . esc_html($account_name) . '</td></tr>';
267 + echo '<tr><th>' . esc_html__('Account Name', 'easy-invoice') . '</th><td>' . esc_html($account_name) . '</td></tr>';
268 268 }
269 269 if ($account_number) {
270 - echo '<tr><th>' . __('Account Number', 'easy-invoice') . '</th><td>' . esc_html($account_number) . '</td></tr>';
270 + echo '<tr><th>' . esc_html__('Account Number', 'easy-invoice') . '</th><td>' . esc_html($account_number) . '</td></tr>';
271 271 }
272 272 if ($routing_number) {
273 - echo '<tr><th>' . __('Routing Number', 'easy-invoice') . '</th><td>' . esc_html($routing_number) . '</td></tr>';
273 + echo '<tr><th>' . esc_html__('Routing Number', 'easy-invoice') . '</th><td>' . esc_html($routing_number) . '</td></tr>';
274 274 }
275 275 if ($swift_code) {
276 - echo '<tr><th>' . __('SWIFT Code', 'easy-invoice') . '</th><td>' . esc_html($swift_code) . '</td></tr>';
276 + echo '<tr><th>' . esc_html__('SWIFT Code', 'easy-invoice') . '</th><td>' . esc_html($swift_code) . '</td></tr>';
277 277 }
278 278 if ($bank_address) {
279 - echo '<tr><th>' . __('Bank Address', 'easy-invoice') . '</th><td>' . esc_html($bank_address) . '</td></tr>';
279 + echo '<tr><th>' . esc_html__('Bank Address', 'easy-invoice') . '</th><td>' . esc_html($bank_address) . '</td></tr>';
280 280 }
281 281 echo '</table>';
282 282 }
283 283
@@ -291,18 +291,18 @@
291 291 $payee_name = get_option('easy_invoice_manual_payee_name', '');
292 292 $payee_address = get_option('easy_invoice_manual_payee_address', '');
293 293
294 294 if (empty($payee_name)) {
295 - echo '<p>' . __('Cheque payment details will be provided by the administrator.', 'easy-invoice') . '</p>';
295 + echo '<p>' . esc_html__('Cheque payment details will be provided by the administrator.', 'easy-invoice') . '</p>';
296 296 return;
297 297 }
298 298
299 299 echo '<div class="cheque-info">';
300 300 if ($payee_name) {
301 - echo '<p><strong>' . __('Make cheque payable to:', 'easy-invoice') . '</strong> ' . esc_html($payee_name) . '</p>';
301 + echo '<p><strong>' . esc_html__('Make cheque payable to:', 'easy-invoice') . '</strong> ' . esc_html($payee_name) . '</p>';
302 302 }
303 303 if ($payee_address) {
304 - echo '<p><strong>' . __('Mail cheque to:', 'easy-invoice') . '</strong> ' . esc_html($payee_address) . '</p>';
304 + echo '<p><strong>' . esc_html__('Mail cheque to:', 'easy-invoice') . '</strong> ' . esc_html($payee_address) . '</p>';
305 305 }
306 306 echo '</div>';
307 307 }
308 308