← All changes
|
includes/bricks-builder-widgets/property-floorplans.php
+2
-1
2.2.4
→
2.4.0
View file →
| @@ -51,8 +51,9 @@ | ||
| 51 | 51 | |
| 52 | 52 | // Add 'class' attribute to element root tag |
| 53 | 53 | $this->set_attribute( '_root', 'class', $root_classes ); |
| 54 | 54 | |
| 55 | + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Bricks serializes registered attributes through its documented render_attributes() API. | |
| 55 | 56 | echo "<div {$this->render_attributes( '_root' )}>"; |
| 56 | 57 | |
| 57 | 58 | if ( get_option('propertyhive_floorplans_stored_as', '') == 'urls' ) |
| 58 | 59 | { |
| @@ -98,5 +99,5 @@ | ||
| 98 | 99 | } |
| 99 | 100 | |
| 100 | 101 | echo '</div>'; |
| 101 | 102 | } |
| 102 | -} | |
| 103 | +} | |