← All changes
|
includes/bricks-builder-widgets/property-floorplans-link.php
+2
-1
2.2.5
→
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 | { |
| @@ -85,5 +86,5 @@ | ||
| 85 | 86 | } |
| 86 | 87 | |
| 87 | 88 | echo '</div>'; |
| 88 | 89 | } |
| 89 | -} | |
| 90 | +} | |