← All changes
|
includes/bricks-builder-widgets/property-epcs-link.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_epcs_stored_as', '') == 'urls' ) |
| 58 | 59 | { |
| @@ -101,5 +102,5 @@ | ||
| 101 | 102 | } |
| 102 | 103 | |
| 103 | 104 | echo '</div>'; |
| 104 | 105 | } |
| 105 | -} | |
| 106 | +} | |