← All changes
|
includes/bricks-builder-widgets/property-floor-area.php
+3
-1
2.2.4
→
2.4.0
View file →
| @@ -56,11 +56,13 @@ | ||
| 56 | 56 | |
| 57 | 57 | // Add 'class' attribute to element root tag |
| 58 | 58 | $this->set_attribute( '_root', 'class', $root_classes ); |
| 59 | 59 | |
| 60 | + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Bricks serializes registered attributes through its documented render_attributes() API. | |
| 60 | 61 | echo "<div {$this->render_attributes( '_root' )}>"; |
| 61 | 62 | |
| 63 | + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- The formatter escapes built-in area text before its trusted propertyhive_floor_area_output HTML filter. | |
| 62 | 64 | echo $property->get_formatted_floor_area(); |
| 63 | 65 | |
| 64 | 66 | echo '</div>'; |
| 65 | 67 | } |
| 66 | -} | |
| 68 | +} | |