← All changes
|
includes/admin/views/html-lightbox-property-details.php
+4
-1
2.2.2
→
2.4.0
View file →
| @@ -1,8 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly |
| 4 | 4 | |
| 5 | +// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- Template-local variable in an admin view; PHPCS analyzes the view file standalone even though WordPress includes it inside a method/function scope. | |
| 5 | 6 | $property = new PH_Property((int)$property_id); |
| 6 | 7 | |
| 7 | 8 | ?> |
| 8 | 9 | |
| @@ -13,9 +14,11 @@ | ||
| 13 | 14 | <div class="details"> |
| 14 | 15 | |
| 15 | 16 | <div class="address"><a href="<?php echo esc_url(get_edit_post_link((int)$property_id)); ?>"><?php echo esc_html($property->get_formatted_summary_address()); ?></a></div> |
| 16 | 17 | |
| 17 | - <div class="price"><?php echo $property->get_formatted_price(); ?></div> | |
| 18 | + <div class="price"><?php | |
| 19 | + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Price producers escape stored values before trusted currency, commercial and propertyhive_price_output HTML filters. | |
| 20 | + echo $property->get_formatted_price(); ?></div> | |
| 18 | 21 | |
| 19 | 22 | </div> |
| 20 | 23 | |
| 21 | 24 | <div style="clear:both"></div> |