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 | 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>