PluginProbe
Property Hive / 2.4.0
Property Hive v2.4.0
2.4.0 2.3.1 2.3.0 2.2.6 2.2.5 2.2.4 2.2.3 2.2.2 1.4.46 1.4.47 1.4.48 1.4.49 1.4.5 1.4.50 1.4.51 1.4.52 1.4.53 1.4.54 1.4.55 1.4.56 1.4.57 1.4.58 1.4.59 1.4.6 1.4.60 All 262 releases
← All changes | templates/account/requirements.php +6 -6 1.4.49 → 2.4.0 View file →
@@ -14,28 +14,28 @@
14 14
15 15 <form name="ph_account_requirements_form" class="propertyhive-form account-requirements-form" action="" method="post">
16 16
17 17 <div id="requirementsSuccess" style="display:none;" class="alert alert-success alert-box success">
18 - <?php _e( 'Thank you. Your requirements have been updated succesfully.', 'propertyhive' ); ?>
18 + <?php echo esc_html(__( 'Thank you. Your requirements have been updated successfully.', 'propertyhive' )); ?>
19 19 </div>
20 20 <div id="requirementsError" style="display:none;" class="alert alert-danger alert-box">
21 - <?php _e( 'An error occurred whilst trying to update your requirements. Please try again.', 'propertyhive' ); ?>
21 + <?php echo esc_html(__( 'An error occurred whilst trying to update your requirements. Please try again.', 'propertyhive' )); ?>
22 22 </div>
23 23 <div id="requirementsValidation" style="display:none;" class="alert alert-danger alert-box">
24 - <?php _e( 'Please ensure all required fields have been completed', 'propertyhive' ); ?>
24 + <?php echo esc_html(__( 'Please ensure all required fields have been completed', 'propertyhive' )); ?>
25 25 </div>
26 26
27 27 <?php do_action( 'propertyhive_account_requirements_form_start' ); ?>
28 28
29 - <?php foreach ( $form_controls as $key => $field ) : ?>
29 + <?php foreach ( $form_controls as $propertyhive_key => $propertyhive_field ) : ?>
30 30
31 - <?php ph_form_field( $key, $field ); ?>
31 + <?php ph_form_field( $propertyhive_key, $propertyhive_field ); ?>
32 32
33 33 <?php endforeach; ?>
34 34
35 35 <?php do_action( 'propertyhive_account_requirements_form' ); ?>
36 36
37 - <input type="submit" value="<?php _e( 'Update Requirements', 'propertyhive' ); ?>">
37 + <input type="submit" value="<?php echo esc_attr(__( 'Update Requirements', 'propertyhive' )); ?>">
38 38
39 39 <?php do_action( 'propertyhive_account_requirements_form_end' ); ?>
40 40
41 41 </form>