| @@ -16,13 +16,13 @@ | ||
| 16 | 16 | |
| 17 | 17 | <a data-fancybox data-src="#makeEnquiry<?php echo (int)$post->ID; ?>" href="javascript:;"><?php echo esc_html(__( 'Make Enquiry', 'propertyhive' )); ?></a> |
| 18 | 18 | |
| 19 | 19 | <!-- LIGHTBOX FORM --> |
| 20 | - <div id="makeEnquiry<?php echo $post->ID; ?>" style="display:none;"> | |
| 20 | + <div id="makeEnquiry<?php echo (int) $post->ID; ?>" style="display:none;"> | |
| 21 | 21 | |
| 22 | 22 | <h2><?php echo esc_html(__( 'Make Enquiry', 'propertyhive' )); ?></h2> |
| 23 | 23 | |
| 24 | - <p><?php _e( 'Please complete the form below and a member of staff will be in touch shortly.', 'propertyhive' ); ?></p> | |
| 24 | + <p><?php esc_html_e( 'Please complete the form below and a member of staff will be in touch shortly.', 'propertyhive' ); ?></p> | |
| 25 | 25 | |
| 26 | 26 | <?php propertyhive_enquiry_form(); ?> |
| 27 | 27 | |
| 28 | 28 | </div> |