← All changes
|
includes/bricks-builder-widgets/property-address-postcode.php
+2
-1
2.2.6
→
2.3.1
View file →
| @@ -56,8 +56,9 @@ | ||
| 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 | |
| 62 | 63 | echo esc_html($property->address_postcode); |
| 63 | 64 | |
| @@ -62,5 +63,5 @@ | ||
| 62 | 63 | echo esc_html($property->address_postcode); |
| 63 | 64 | |
| 64 | 65 | echo '</div>'; |
| 65 | 66 | } |
| 66 | -} | |
| 67 | +} | |